add 'login' section to site_settings
This commit is contained in:
parent
504e971bda
commit
7cfcad5636
|
@ -165,7 +165,7 @@ basic:
|
||||||
client: true
|
client: true
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
users:
|
login:
|
||||||
invite_only:
|
invite_only:
|
||||||
client: true
|
client: true
|
||||||
default: false
|
default: false
|
||||||
|
@ -178,27 +178,11 @@ users:
|
||||||
enable_local_logins:
|
enable_local_logins:
|
||||||
client: true
|
client: true
|
||||||
default: true
|
default: true
|
||||||
min_username_length:
|
|
||||||
client: true
|
|
||||||
default: 3
|
|
||||||
min: 1
|
|
||||||
max_username_length:
|
|
||||||
client: true
|
|
||||||
default: 20
|
|
||||||
min: 8
|
|
||||||
max: 60
|
|
||||||
min_password_length:
|
|
||||||
client: true
|
|
||||||
default: 8
|
|
||||||
min: 1
|
|
||||||
block_common_passwords: true
|
|
||||||
|
|
||||||
# The default value of enable_google_logins changed from true to false.
|
# The default value of enable_google_logins changed from true to false.
|
||||||
# See db/migrate/20140521220115_google_openid_default_has_changed.rb
|
# See db/migrate/20140521220115_google_openid_default_has_changed.rb
|
||||||
enable_google_logins:
|
enable_google_logins:
|
||||||
client: true
|
client: true
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
enable_google_oauth2_logins:
|
enable_google_oauth2_logins:
|
||||||
client: true
|
client: true
|
||||||
default: false
|
default: false
|
||||||
|
@ -242,6 +226,23 @@ users:
|
||||||
sso_overrides_email: false
|
sso_overrides_email: false
|
||||||
sso_overrides_username: false
|
sso_overrides_username: false
|
||||||
sso_overrides_name: false
|
sso_overrides_name: false
|
||||||
|
|
||||||
|
|
||||||
|
users:
|
||||||
|
min_username_length:
|
||||||
|
client: true
|
||||||
|
default: 3
|
||||||
|
min: 1
|
||||||
|
max_username_length:
|
||||||
|
client: true
|
||||||
|
default: 20
|
||||||
|
min: 8
|
||||||
|
max: 60
|
||||||
|
min_password_length:
|
||||||
|
client: true
|
||||||
|
default: 8
|
||||||
|
min: 1
|
||||||
|
block_common_passwords: true
|
||||||
enforce_global_nicknames: false
|
enforce_global_nicknames: false
|
||||||
discourse_org_access_key: ''
|
discourse_org_access_key: ''
|
||||||
username_change_period: 3
|
username_change_period: 3
|
||||||
|
|
Loading…
Reference in New Issue