diff --git a/imaginaerraum_door_admin/default_app_config.py b/imaginaerraum_door_admin/default_app_config.py index 87fdba4..5fc9f31 100644 --- a/imaginaerraum_door_admin/default_app_config.py +++ b/imaginaerraum_door_admin/default_app_config.py @@ -1,11 +1,14 @@ print("loading default config") import bleach from flask_security import uia_email_mapper +print("loading default config") + def uia_username_mapper(identity): # we allow pretty much anything - but we bleach it. return bleach.clean(identity, strip=True) + class DefaultConfig(object): DEBUG = False