forked from moepman/bk-dss
dss.py: minor stylistic fixup
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
110fad8605
commit
cb18911ce4
2
dss.py
2
dss.py
@ -173,7 +173,7 @@ def login():
|
|||||||
form = LoginForm()
|
form = LoginForm()
|
||||||
|
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
user = ""
|
user = ''
|
||||||
if form.user.data.endswith(app.config.get('LDAP_BASE','')):
|
if form.user.data.endswith(app.config.get('LDAP_BASE','')):
|
||||||
user = form.user.data
|
user = form.user.data
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user