From 8057c16cc438769671f5d47aef39e8017b430d19 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 5 Mar 2019 22:18:11 +0100 Subject: [PATCH] enable form validation for login page --- templates/login.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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