Skip to content

Commit 1138886

Browse files
committed
Revert "Make min password size configurable"
This reverts commit 746bec2.
1 parent 8b6697b commit 1138886

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/lib/authentication/by_password.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module ByPassword
44
extend ActiveSupport::Concern
55

66
# strong passwords
7-
STRONG_PASSWORD_MIN_SIZE = Rails.configuration.three_scale.password_min_size
7+
STRONG_PASSWORD_MIN_SIZE = 15
88

99
included do
1010
# We only need length validations as they are already set in Authentication::ByPassword

config/examples/settings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ base: &default
1919
janitor_worker_enabled: true
2020
onpremises: false
2121
onpremises_api_docs_version: false
22-
password_min_size: <%= ENV.fetch('THREESCALE_PASSWORD_MIN_SIZE', '15') %>
2322
readonly_custom_domains_settings: <%= ENV.fetch('READONLY_CUSTOM_DOMAINS_SETTINGS', '0') == '1' %>
2423
recaptcha_private_key: <%= ENV['RECAPTCHA_PRIVATE_KEY'] %>
2524
recaptcha_public_key: <%= ENV.fetch('RECAPTCHA_PUBLIC_KEY', 'YOUR_RECAPTCHA_PUBLIC_KEY') %>

0 commit comments

Comments
 (0)