diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-05 11:25:44 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-05 11:25:44 +0200 |
commit | cdf3b60555eb559ea5f9b141903054afbc273062 (patch) | |
tree | 36224d892603426a3f1903251c0ee03f67baaff5 /config | |
parent | ec465bf247ec2e9fd3df13f6a289ecc5fb6e4e2a (diff) | |
download | nextcloud-server-cdf3b60555eb559ea5f9b141903054afbc273062.tar.gz nextcloud-server-cdf3b60555eb559ea5f9b141903054afbc273062.zip |
Handle one time passwords
This adds an option to disable storing passwords in the database. This
might be desirable when using single use token as passwords or very
large passwords.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 9856aeba4d7..025cf1105a0 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -309,6 +309,21 @@ $CONFIG = [ 'auth.webauthn.enabled' => true, /** + * Whether encrypted password should be stored in the database + * + * The passwords are only decrypted using the login token stored uniquely in the + * clients and allow to connect to external storages, autoconfigure mail account in + * the mail app and periodically check if the password it still valid. + * + * This might be desirable to disable this functionality when using one time + * passwords or when having a password policy enforcing long passwords (> 300 + * characters). + * + * By default the passwords are stored encrypted in the database. + */ +'auth.storeCryptedPassword' => true, + +/** * By default the login form is always available. There are cases (SSO) where an * admin wants to avoid users entering their credentials to the system if the SSO * app is unavailable. |