diff --git a/tgno/settings/base.py b/tgno/settings/base.py index b5dbb22..5cb6a2c 100644 --- a/tgno/settings/base.py +++ b/tgno/settings/base.py @@ -228,7 +228,9 @@ if SOCIAL_AUTH_KEYCLOAK_KEY is not None: AUTHENTICATION_BACKENDS.append("social_core.backends.keycloak.KeycloakOAuth2") -if DISABLE_LOCAL_AUTH is False: - AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend") +# if DISABLE_LOCAL_AUTH is False: +# AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend") +# Add ModelBackend anyways to fix groups +AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend") HEALTH_CHECK = {"SUBSETS": {"liveness": ["DatabaseBackend"]}}