diff --git a/ssoauth/app_settings/defaults.py b/ssoauth/app_settings/defaults.py
index 37339892d14d5d10d87c47a20831a2aa44198617..627512bba843e74006277732e4ffceaf1e804d55 100644
--- a/ssoauth/app_settings/defaults.py
+++ b/ssoauth/app_settings/defaults.py
@@ -60,7 +60,7 @@ PRETEND_AUTH_BACKEND = django_settings.AUTHENTICATION_BACKENDS[0]  # pretend to
 
 
 """
-Not really settings...
+This information will be published in this SP metadata...
 """
 
 SP_CONTACTS = {
diff --git a/ssoauth/auth_utils.py b/ssoauth/auth_utils.py
index b528e00a244ed9212cffedbb154a1c332c890c4b..3e6a9c4751dc5e2cafe2d92a76f981f249341918 100644
--- a/ssoauth/auth_utils.py
+++ b/ssoauth/auth_utils.py
@@ -136,8 +136,8 @@ def cleanup_direct_permissions(user):
         user.user_permissions.clear()
 
 
-def set_user_compat_flags(user):
-    is_active = True
+def set_user_compat_flags(user, user_is_active=True):
+    user.is_active = user_is_active
     user.is_staff = False
     user.is_superuser = False
     try: