diff options
-rw-r--r-- | templates/login.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep index a5aa8e3..7b225ec 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -55,7 +55,7 @@ <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, autocomplete => 'username' + %= text_field 'user', id => 'user', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username' <label for="user">Account</label> </div> <div class="input-field col s12"> |