fixed formatting
This commit is contained in:
parent
3a6ea5926b
commit
7c29f847bc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user