...
Accepts a parameter error_msg
to use a custom message when recovering password does not work, for example when the passwords do not match. Message is returned in request.flash object.
Example:
Code Block |
---|
{% authentication_recover_password_form "dealers", error_msg: "custom error message" %} {% authentication_field "password", class: "form-field" %} {% authentication_field "confirm_password", class: "form-field" %} <input type="submit" value="Update password!"> {% endauthentication_recover_password_form %} |
...