diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-03 13:48:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-03 13:48:11 +0300 |
commit | 57a3f2845653da1926ea38c061db0b9b08b2902a (patch) | |
tree | 8d853b679be541906efc91c7e4194caa9b4a7512 /app/controllers/sessions_controller.rb | |
parent | 3f4ac2ff60c9d83ec65b19070e4d054e12e67dd2 (diff) |
Added minimum password length to password field
Closes #17765
Diffstat (limited to 'app/controllers/sessions_controller.rb')
-rw-r--r-- | app/controllers/sessions_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index d68c2a708e3..c1b940bf9e5 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -14,6 +14,7 @@ class SessionsController < Devise::SessionsController before_action :load_recaptcha def new + set_minimum_password_length if Gitlab.config.ldap.enabled @ldap_servers = Gitlab::LDAP::Config.servers else |