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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---