Maybe - PHP has its pros and cons, however people whose understanding
of a language (or will to learn a language or use other peoples
codebases written in that language) amount to picking out a function
name and wanting to throw whatever parameters at it until there are no
errors spat out, or
On May 18, 5:49 pm, rahajiyev rahaji...@bankofbaku.com wrote:
Here's my custom validation rule function:
public function check_current_password($current_password) {
$user = $this-find('first', array('id' = $this-id));
PHP sucks... a good language would have told me that I'm sending it
array while it's expecting a string. I spent a couple of hours late
Friday to find where I got it wrong, to no avail.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
Hello All,
how to delete Multiple tables fields values in cakephp 2.0
--
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
When user enters his current password for verification it compares
unequal to his real password.
Here's my custom validation rule function:
public function check_current_password($current_password) {
$user = $this-find('first', array('id' = $this-
id));
Have you changed your security salt setting since you first entered in
original password? If so your passwords hash will not match.
Sent from my iPhone
On 2012-05-18, at 8:49 AM, rahajiyev rahaji...@bankofbaku.com wrote:
When user enters his current password for verification it compares
No, of course I didn't. Only one thing changed, don't know if it's
related: I entered the users and their hashed passwords in one
controller, then logged in as them and attempted hashing their own
password in the other. This shouldn't matter, unless Cake further
salts the hash using controller's
I should note that users are able to log in by entering their user/
pass, thus hashing works. It's just that I'm unable to generate the
same hash using AuthComponent::password('my-cleartext-pass')
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the