diff --git a/templates/login.html.ep b/templates/login.html.ep
index 1acff00..4e9b1c2 100644
--- a/templates/login.html.ep
+++ b/templates/login.html.ep
@@ -45,12 +45,12 @@
account_circle
- %= text_field 'user', id => 'user', class => 'validate'
+ %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60
lock
- %= password_field 'password', id => 'password', class => 'validate'
+ %= password_field 'password', id => 'password', class => 'validate', required => undef