El componente Auth automáticamente aplicará el hash al campo contraseña (password) si también está presente el campo nombre de usuario (username) en los datos recibidos en la petición.
The auth component will automatically hash the password field if the username field is also present in the submitted data
El componente auth supone que tus nombres de acciones siguen las convenciones y usan guiones bajos.
The auth component assumes that your actions names CakePHP Conventions and are underscored. deny
Esta es la manera de implementar una increíblemente simple, base de datos de autenticación usando el componente Auth.
That's how to implement an incredibly simple, database-driven authentication system using the Auth component.
Al enviar información a través de un formulario, el componente Auth encripta automáticamente el contenido del campo contraseña, si también hay datos en el campo nombre de usuario.
When posting information to an action via a form, the Auth component automatically hashes the contents of your password input field if you also have data in the username field.
Si tu controlador usa el componente Auth y los datos recibidos por POST contienen los campos explicados arriba, automáticamente realizará el hash al campo contraseña usando esta función.
If your controller uses the Auth component and posted data contains the fields as explained above, it will automatically hash the password field using this function. mapActions
Esto establece el mensaje flash y saca al usuario de la aplicación usando el método logout del componente Auth.
This sets a Session flash message and logs out the User using Auth's logout method.