Commit ba45f90f authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '118450-add-to-initializer-update-devise-gem-version' into 'master'

Link to Devise Update issue in Devise Initializer

See merge request gitlab-org/gitlab!21819
parents 8495e855 1bda069e
...@@ -22,6 +22,8 @@ end ...@@ -22,6 +22,8 @@ end
# This initializer can be removed as soon as https://github.com/plataformatec/devise/pull/5166 # This initializer can be removed as soon as https://github.com/plataformatec/devise/pull/5166
# is merged into Devise. # is merged into Devise.
# TODO: Update Devise. Issue: https://gitlab.com/gitlab-org/gitlab/issues/118450
if length_validator_supports_dynamic_length_checks?(password_length_validator) if length_validator_supports_dynamic_length_checks?(password_length_validator)
raise "Devise now supports dynamic length checks, please remove the monkey patch in #{__FILE__}" raise "Devise now supports dynamic length checks, please remove the monkey patch in #{__FILE__}"
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment