Saturday, January 12, 2013

Re: Can't login into user accounts

The passwords are stored using a hash and a quite complicated salt (which should be in the bootstrap if I'm not mistaken)... So editing the DB directly doesn't seem like a good idea.

Set debug to a higher level and focus on the UsersController and the "add" method (and the "add.ctp" view). You should find your problem here, it is most probably because you set some validation rule your registration currently doesn't fullfill.
For example you removed (or added or edited) some column in your users table.

You can see SQL queries using $this->element('sql_dump'); in your view (or preferably layout).

Regards, Marek

Dne sobota, 12. ledna 2013 10:11:03 UTC+1 Neil Berrow napsal(a):
I'm having a right nightmare with my user accounts, for some reason I cannot login register anymore on my site.

I've dug into my mysql user tables and I've tried changing passwords but it simply won't let me in.

Is there something I'm missing? Is there a way I can see errors so I can see if database is being used correctly?

Cheers

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate