diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-08 21:07:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-08 21:07:54 +0100 |
commit | 98fc5a3aba2ad4e95607405f424a2e1e5e12cb4e (patch) | |
tree | 3405b1e86773e18f6c1ae08b7b739b8e289df957 /templates/register.html.ep | |
parent | df0a59eb9d26e789806754b6e5fee5ba9ebf67b7 (diff) |
add password manager hints to login/registration forms
Diffstat (limited to 'templates/register.html.ep')
-rw-r--r-- | templates/register.html.ep | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/register.html.ep b/templates/register.html.ep index 6a4a72d..44a7615 100644 --- a/templates/register.html.ep +++ b/templates/register.html.ep @@ -64,7 +64,7 @@ <div class="row"> <div class="input-field col l6 m12 s12"> <i class="material-icons prefix">account_circle</i> - %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60 + %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username' <label for="account">Name</label> </div> <div class="input-field col l6 m12 s12"> @@ -74,12 +74,12 @@ </div> <div class="input-field col l6 m12 s12"> <i class="material-icons prefix">lock</i> - %= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8 + %= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' <label for="password">Passwort</label> </div> <div class="input-field col l6 m12 s12"> <i class="material-icons prefix">lock</i> - %= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8 + %= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' <label for="password2">Passwort wiederholen</label> </div> </div> |