Hi All,

I hope you can point me in the right direction.

I'm following the guide at: 
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html

I'm using CakePHP 2.4.3 and have followed the guide to the letter of the 
law. It mostly works correctly. If I try to access a controller/action it 
redirects as it should to the users/login action... so that's seems fine.

The issue is when I try to add a new user at users/add. It throws this 
error: Error: Class 'SimplePasswordHasher' not found

I have made sure that the following is pasted in the top of the Users 
model: App::uses('AppModel', 'Model', 'SimplePasswordHasher', 
'Controller/Component/Auth');

I then thought that perhaps this "SimplePasswordHasher" class was a new 
thing part of 2.4.4 so I set up another test project to test it and went 
through the entire Auth tutorial again with exactly the same results.

Where am I going wrong? It there some code missing? 

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to