diff --git a/app/assets/stylesheets/users.scss b/app/assets/stylesheets/users.scss index e00d015430..0a1366b7f8 100644 --- a/app/assets/stylesheets/users.scss +++ b/app/assets/stylesheets/users.scss @@ -134,6 +134,9 @@ margin-top: 20px; padding: 8px 25px; } +.users-login-primary-button:disabled{ + cursor: not-allowed; +} .password-length { display: flex; flex-direction: row; diff --git a/app/views/users/sessions/new.html.erb b/app/views/users/sessions/new.html.erb index de98138bda..8c5fce9bf9 100644 --- a/app/views/users/sessions/new.html.erb +++ b/app/views/users/sessions/new.html.erb @@ -49,7 +49,7 @@ <% if Flipper.enabled?(:recaptcha) %> <%= recaptcha_tags %> <% end %> - <%= f.submit t("login"), class: "btn primary-button users-login-primary-button" %> + <%= f.submit t("login"), class: "btn primary-button users-login-primary-button", disabled: true %>