[matrix] update password config when it login

This commit is contained in:
kjg 2022-01-29 18:57:23 +09:00
parent c32a1836aa
commit 480cb9435a
5 changed files with 10 additions and 0 deletions

View file

@ -2254,6 +2254,8 @@ password_config:
# Uncomment to disable password login # Uncomment to disable password login
# #
#enabled: false #enabled: false
enableed: ${ENABLE_PASSWORDCONFIG:?}
# Uncomment to disable authentication against the local password # Uncomment to disable authentication against the local password
# database. This is ignored if \`enabled\` is false, and is only useful # database. This is ignored if \`enabled\` is false, and is only useful

View file

@ -286,6 +286,11 @@ worker-mode
processes are called 'workers'. Please read the WORKER MODE section of this processes are called 'workers'. Please read the WORKER MODE section of this
manpage before enabling, as extra work and considerations are required. manpage before enabling, as extra work and considerations are required.
enable-passwordconfig
For removing user/password tab on login screen.
when it set saml2-login, it remove user/password tab on login-screen.
default is true.
PERFORMANCE PERFORMANCE
----------- -----------

View file

@ -169,6 +169,7 @@ fi
# Registrations and users. # Registrations and users.
ALLOW_GUEST_ACCESS=$(get_boolean_for 'allow-guest-access') ALLOW_GUEST_ACCESS=$(get_boolean_for 'allow-guest-access')
ENABLE_REGISTRATIONS=$(get_boolean_for 'enable-registrations') ENABLE_REGISTRATIONS=$(get_boolean_for 'enable-registrations')
ENABLE_PASSWORDCONFIG=$(get_boolean_for 'enable-passwordconfig')
USER_DIRECTORY_SEARCH_ALL_USERS=$(get_boolean_for 'user-directory-search-all-users') USER_DIRECTORY_SEARCH_ALL_USERS=$(get_boolean_for 'user-directory-search-all-users')
export ALLOW_GUEST_ACCESS ENABLE_REGISTRATIONS USER_DIRECTORY_SEARCH_ALL_USERS export ALLOW_GUEST_ACCESS ENABLE_REGISTRATIONS USER_DIRECTORY_SEARCH_ALL_USERS

View file

@ -18,3 +18,4 @@ enable-message-retention-policy
worker-mode worker-mode
enable-url-preview enable-url-preview
enable-3pid-lookups enable-3pid-lookups
enable-passwordconfig

View file

@ -0,0 +1 @@
true