Commit 87d16e184186759568b14a7f021489ad21792c42
1 parent
0db36897
Exists in
spb-stable
and in
3 other branches
Explain where the default password validation is
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
doc/security/password_length_limits.md
1 | # Custom password length limits | 1 | # Custom password length limits |
2 | 2 | ||
3 | -If you want to enforce longer user passwords you can create an extra Devise initializer with the following steps: | 3 | +If you want to enforce longer user passwords you can create an extra Devise initializer with the steps below. |
4 | +If you do not use the `devise_password_length.rb` initializer the password length is set to a minimum of 8 characters in `config/initializers/devise.rb`. | ||
4 | 5 | ||
5 | ```bash | 6 | ```bash |
6 | cd /home/git/gitlab | 7 | cd /home/git/gitlab |