doc(auth): Warn about disabled token passwords and LDAP logout

Auth tokens store the user's login password by default. If the password
changes externally (on LDAP), all connected clients stop syncing after 5
minutes max when the password is verified the next time. A web login
revivess those app passwords.

If storing the password is disabled, the tokens continue to work after
password change. But that also means the clients are not logged out the
same way. This can be fine for some setups and problematic for others.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-04-11 18:11:00 +02:00 committed by backportbot-nextcloud[bot]
parent 65aaf76760
commit 5fe65a7d59

View file

@ -346,6 +346,10 @@ $CONFIG = [
* characters).
*
* By default, the passwords are stored encrypted in the database.
*
* WARNING: If disabled, password changes on the user back-end (e.g. on LDAP) no
* longer log connected clients out automatically. Users can still disconnect
* the clients by deleting the app token from the security settings.
*/
'auth.storeCryptedPassword' => true,