summaryrefslogtreecommitdiff
path: root/templates/login.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-08 21:07:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-08 21:07:54 +0100
commit98fc5a3aba2ad4e95607405f424a2e1e5e12cb4e (patch)
tree3405b1e86773e18f6c1ae08b7b739b8e289df957 /templates/login.html.ep
parentdf0a59eb9d26e789806754b6e5fee5ba9ebf67b7 (diff)
add password manager hints to login/registration forms
Diffstat (limited to 'templates/login.html.ep')
-rw-r--r--templates/login.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep
index 23d3259..cf4364f 100644
--- a/templates/login.html.ep
+++ b/templates/login.html.ep
@@ -75,12 +75,12 @@
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">account_circle</i>
- %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60
+ %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60, autocomplete => 'username'
<label for="user">Account</label>
</div>
<div class="input-field col s12">
<i class="material-icons prefix">lock</i>
- %= password_field 'password', id => 'password', class => 'validate', required => undef
+ %= password_field 'password', id => 'password', class => 'validate', required => undef, autocomplete => 'current-password'
<label for="password">Passwort</label>
</div>
</div>