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")
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