populate is_staff and is_superuser flags at LDAP authentication

This commit is contained in:
Vladimir D 2024-01-24 22:18:02 +04:00
parent a2cfe764d4
commit 95580ee743
5 changed files with 32 additions and 0 deletions

View file

@ -5,3 +5,8 @@ class CoreConfig(AppConfig):
name = 'core'
# WIP: broken by Django 3.1.2 -> 4.0 migration
default_auto_field = 'django.db.models.UUIDField'
def ready(self):
from .auth import register_signals
register_signals()