1
0
forked from moepman/bk-dss

dss.py: minor stylistic fixup

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-17 22:00:15 +02:00
parent 110fad8605
commit cb18911ce4

2
dss.py
View File

@ -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: