Once you turn on Auth, the passwords will get hashed automagically by Cake (assuming you have 'Auth' in your $components, and your beforeFilter logic is right).
If you have existing rows that were added before you turned Auth on, you will likely need to update them so that they get stored in the DB as hashed values. On Feb 2, 11:54 pm, Heryudi Ganesha <[email protected]> wrote: > Hi all, > > Just curious. Currently i'm trying auth component following this > tutorial:http://www.studiocanaria.com/articles/cakephp_auth_component_users_gr... > > When I create a new user and submit it (scaffold mode), the password is > not hashed - it display clear text user password. Is it actually auth > behave like that on scaffold mode or it shouldn't? > > Thanks > > -- heryudi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
