Take a look at the Auth components hashPassword method in the CakePHP
book at:
http://book.cakephp.org/#hashPasswords-1259

You should use the method before you inserts a new user in the
database.
Enjoy,
   John

On Feb 20, 5:20 pm, "[email protected]"
<[email protected]> wrote:
> Is it possible to create a admin user without registration by Auth
> component.If possible can you tell me how.
>
> I have tried with creating user by database insert.But  login action
> accept only hashed password.

-- 
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 from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to