Ok friends i have solved the problem.Can I ask you why this problem arises?

to euromark:I should change the field into the table too because i have 
users.password column.What I am doing is only an example to see how cakephp 
works.Thank you for the advice.

Il giorno venerdì 9 novembre 2012 01:40:24 UTC+1, euromark ha scritto:
>
> and if possible use an alias for your form field "password" like "pwd" as 
> well as some kind of "pwd_repeat" field to confirm the password (since you 
> cant see it very often it is mistyped rendering the registration invalid 
> then by accident):
> http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
>
>
> Am Freitag, 9. November 2012 00:33:18 UTC+1 schrieb cricket:
>>
>> See here: 
>>
>> http://lecterror.com/articles/view/cakephp-password-hash-issue 
>>
>> On Thu, Nov 8, 2012 at 4:26 PM, and <[email protected]> wrote: 
>> > Hi all, 
>> > I have a form for registration and i have some rules that the field 
>> must 
>> > respect.If i insert the wrong email format,for example,the form says 
>> that it 
>> > is incorrect.The thing that happen is that the password field is filled 
>> with 
>> > md5 password.I have the following view: 
>> > 
>> > <p>Please fill out the form below to register an account.</p> 
>> > <?php 
>> > echo $form->create('User',array('action'=>'register'));?> 
>> > 
>> > <?php 
>> > echo $form->input('first_name'); 
>> > echo $form->input('last_name'); 
>> > echo 
>> > 
>> $form->input('username',array('after'=>$form->error('username_unique','Username
>>  
>>
>> > esistente.'))); 
>> > echo 
>> $form->input('email',array('after'=>$form->error('email_unique','Email 
>> > esistente'))); 
>> > echo $form->input('password'); 
>> > ?> 
>> > <?php echo $form->end('Register');?> 
>> > 
>> > In the file attached you can see a password that i have nerver 
>> > inserted.Could you hel me? 
>> > 
>> > -- 
>> > 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 post to this group, send email to [email protected]. 
>> > To unsubscribe from this group, send email to 
>> > [email protected]. 
>> > Visit this group at http://groups.google.com/group/cake-php?hl=en. 
>> > 
>> > 
>>
>

-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to