mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2025-02-16 21:38:33 +00:00
Update archivebox/core/auth_ldap.py
add log line
This commit is contained in:
parent
5de9d934af
commit
e8772513ca
1 changed files with 1 additions and 0 deletions
|
@ -9,3 +9,4 @@ def create_user(sender, user=None, ldap_user=None, **kwargs):
|
|||
user.is_superuser = True
|
||||
|
||||
user.is_staff = True
|
||||
print(f'[!] WARNING: Creating new user {user} based on LDAP user {ldap_user} (is_staff={user.is_staff}, is_superuser={user.is_superuser})')
|
||||
|
|
Loading…
Add table
Reference in a new issue