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 @@
account_circle
- %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60
+ %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60, autocomplete => 'username'
lock
- %= password_field 'password', id => 'password', class => 'validate', required => undef
+ %= password_field 'password', id => 'password', class => 'validate', required => undef, autocomplete => 'current-password'
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 @@
account_circle
- %= 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'
@@ -74,12 +74,12 @@
lock
- %= 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'
lock
- %= 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'