ldap: update description of keep_password/clean_external_id_on_update (#39389)

This commit is contained in:
Frédéric Péters 2020-01-29 16:03:01 +01:00
parent b94ce13a1f
commit 81c09b3309
1 changed files with 3 additions and 2 deletions

View File

@ -460,9 +460,10 @@ class LDAPBackend(object):
# lookup existing user with an external id build with attributes
'lookups': ('external_id', 'username'),
'external_id_tuples': (('uid',), ('dn:noquote',),),
# keep password around so that Django authentification also work
# clean all other existing external id for an user after linking the user
# to an external id.
'clean_external_id_on_update': True,
# Conserve the passsword in the Django User object
# keep password around so that Django authentification also work
'keep_password': False,
# Converse the password in the session if needed to retrieve attributes or change password
'keep_password_in_session': False,