On Fri, Apr 4, 2008 at 7:43 PM, dw <[EMAIL PROTECTED]> wrote:
>
> thanks for the replies. i've been picking through auth.php for some
> glimmer of what might be going on, but no dice. the thing which
> baffles me is that it works for one method but not the other. here is
> some code (i include
thanks for the replies. i've been picking through auth.php for some
glimmer of what might be going on, but no dice. the thing which
baffles me is that it works for one method but not the other. here is
some code (i included the model, controller, and the two views):
http://bin.cakephp.org/view/10
The name of the filed isn't an issue.
Although for a true implementation he'll have to user fields such as
new_password, he shouldn't have to for his implementation. He said that all
the vies have the same $form->password('User.password', array('size' =>
'30','label'=>false))
I'm assuming all of
Have you tried this out using a different name for the column holding
the password?
I call my password field "passwd", because I believe 'password' is a
reserved keyword in MySQL.
At any rate, I found that in order to perform data validation on the
submitted password, I had to manually hash the
Yes, that's what I meanthmmmph...well
Do some code dumps in bin.cakephp.org I guess
On Fri, Apr 4, 2008 at 1:53 PM, dw <[EMAIL PROTECTED]> wrote:
>
> Do you mean in the controllers? I do call parent::beforeFilter() in
> each of their beforeFilter().
>
> On Apr 4, 11:32 am, Baz <[EMAIL PROTEC
Do you mean in the controllers? I do call parent::beforeFilter() in
each of their beforeFilter().
On Apr 4, 11:32 am, Baz <[EMAIL PROTECTED]> wrote:
> In your other models, are you calling parent::beforeFilter() in
> beforeFilter?
>
> On Fri, Apr 4, 2008 at 1:07 PM, dw <[EMAIL PROTECTED]> wrote:
In your other models, are you calling parent::beforeFilter() in
beforeFilter?
On Fri, Apr 4, 2008 at 1:07 PM, dw <[EMAIL PROTECTED]> wrote:
>
> I have a User model, which has an admin_add function. The user's
> password is being hashed just fine. I also have an admin_pw function,
> with which a
I have a User model, which has an admin_add function. The user's
password is being hashed just fine. I also have an admin_pw function,
with which an admin can change a user's password, and a change_pw
function, which lets the user change their own password. The Auth
component is not hashing passwo