authentication_field
Table of contents
The authentication_field tag renders an html input tag, which have to be used in the different form tags available for authentication.
- authentication_new_form
- authentication_login_form
- authentication_logout_form
- authentication_edit_form
- authentication_recover_password_form
- authentication_request_password_recovery_form
This tag can only be called inside one of the form tags above.
The authentication_field tag takes the name of the authentication field that has to be edited (one of "email", "password", "new_password" or "confirm_password"). Depending on the form tag in which the authentication_field tag is called, the authentication_field tag has to be called for a subset of these field names. E.g. within the authentication_login_form tag, the authentication_field tag has to be called only with "email" and with "password".