Maybe you didn't use the salt when setting the password value in the database?
You have to do something like this: INSERT INTO `users` SET `password` = sha1( 'passwordstringSALTSTRING') On May 11, 12:10 am, Andras Kende <[EMAIL PROTECTED]> wrote: > Hello, > > I was able to add 1.2 auth from the cookbook > (http://book.cakephp.org/view/172/authentication) > to my testapp but somehow only works for me if core.php : > Configure::write('Security.salt', ''); is set to empty... > > What I'm missing here? > > users table (sha1 pass) > username | password > testuser | 94cd166631d14dab533858b9b47e9584a2ff3f65 > > app_controller.php : > <?php > class AppController extends Controller { > var $components = array('Auth');} > > ?> > > Thank you, > > Andras Kende > > http://www.kende.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
