As Marcin says,  have a good look through the book.  It will really
save you time in the long run -- and save the rest of us time too.
Although we are of course always happy to help :-)

A password-type field is only created automagically if the fieldname
is:  password, passwd, or psword.
http://book.cakephp.org/view/189/Automagic-Form-Elements

HTH

On Oct 8, 12:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> hm
>
> controller:
> $this->Auth->fields = array( 'username' => 'email',     'password' =>
> 'pass' );
>
> view:
> print $form->input('email', array('label' => __('Email', true)));
> print $form->input('pass', array('type' => 'password', 'label' =>
> __('Password', true)));
>
> the second input without the type key renders a text input not a a
> password input. It sholud render a password input, isn't it?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to