On Mar 20, 7:18 pm, ckemmler <ckemm...@gmail.com> wrote:
> Thanks!
>
> Did that.
>
> I have two problems now
>
> 1. the README there tells me:
>
> * Add method `retrieveByUsernameOrEmailAddress` to get a user by
> email or username in lib/model/sfGuardPlugin/sfGuardUserPeer.class
> e.q.
>
> [PHP]
> static public function retrieveByUsernameOrEmailAddress
> ($usernameOrEmail, $isActive = true )
> {
> $c = new Criteria();
> $c->add(self::USERNAME, $usernameOrEmail);
> $c->add(self::EMAIL, $usernameOrEmail);
> $c->add(self::IS_ACTIVE, $isActive);
>
> return self::doSelectOne($c);
> }
>
> but I don't have a lib/model/sfGuardPlugin/sfGuardUserPeer.class
>
> What am I supposed to do then?
Do you have
/plugins/lib/models/sfGuardPlugins/sfGuardUserPeer.class?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---