To accomplish this you will have to override the Auth COmponents "authorize" variable and isAuthorized() method to check both the username and email. You can read about it here: http://book.cakephp.org/view/396/authorize
On Sat, Nov 14, 2009 at 12:40 AM, jburns <[email protected]> wrote: > Have you considered using the email address as the username (thereby > eliminating your problem)? > > On Nov 14, 4:16 am, Ahmed <[email protected]> wrote: > > Does anyone know how I can begin to tackle this feature? > > -- > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/cake-php?hl=. > > > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cake-php?hl=.
