i think you need to change the save method in 
/plugin/sfGuardPlugin/lib/model/pluginSfGuardUser.class.php!

> Date: Mon, 9 Mar 2009 02:35:31 -0700
> Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0 ?
> From: aaabbbcccda...@gmail.com
> To: symfony-users@googlegroups.com
> 
> 
> Hugo Hamon I don't understand you - what do you mean ? :)
> 
> Gregorie Laporte - you have right ......... strange...... I hope
> somebody will correct this in the future ?
> 
> 
> On 9 Mar, 10:26, Gregoire Laporte <saturn1...@hotmail.com> wrote:
> > But you can notice that even is_active == 0 ,the user can connect !!
> > It's a bug i think !
> >
> > > Date: Mon, 9 Mar 2009 02:12:32 -0700
> > > Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 
> > > 0 ?
> > > From: webmas...@apprendre-php.com
> > > To: symfony-users@googlegroups.com
> >
> > > You have to override the save() method of your form to force the
> > > setIsActive(false) inside. The code you have put in your action does
> > > not belong to the controller but to the model, so let's move it in the
> > > save method of your form.
> >
> > _________________________________________________________________
> > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
> > Téléchargez-le maintenant !http://www.windowslive.fr/messenger/1.asp
> > 

_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to