fixed formatting

This commit is contained in:
Simon Pirkelmann 2022-09-12 22:21:21 +02:00
parent 3a6ea5926b
commit 7c29f847bc

View File

@ -1,11 +1,14 @@
print("loading default config") print("loading default config")
import bleach import bleach
from flask_security import uia_email_mapper from flask_security import uia_email_mapper
print("loading default config")
def uia_username_mapper(identity): def uia_username_mapper(identity):
# we allow pretty much anything - but we bleach it. # we allow pretty much anything - but we bleach it.
return bleach.clean(identity, strip=True) return bleach.clean(identity, strip=True)
class DefaultConfig(object): class DefaultConfig(object):
DEBUG = False DEBUG = False