Re: Can not change default Model and fields :(
On Jan 12, 11:25 am, "vaibhav.malushte" <vaibhav.malus...@gmail.com>
wrote:
> Hi AD,
>
> Thanks for your reply
> I'm not overwriting the array/configuration
The point of my post was that you, directly or indirectly, are. Look
at the settings array in base authenticate which form authenticate
inherits from.
> ,I found the problem in
> core file (I think its a bug and need to fix it).
> It is in
> /lib/Cake/Controller/Component/Auth/FormAuthenticate.php on line 61,62
> and 67,68
I don't know what bug you see there - the code assumes that both:
$this->settings['fields]['username']
$this->settings['fields]['password']
are set. Which is logical since those settings are _required_ and set
by default.
In any event you can submit a pull request with any changes you think
are required to fix 'the bug' - but if your changes are simply
changing configuration for hardcoded values they won't be accepted.
AD
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home