forked from moepman/bk-dss
dss.py: remove superfluous assignment
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
8a6ddb479c
commit
187bfe4f42
1
dss.py
1
dss.py
@ -172,7 +172,6 @@ def login():
|
|||||||
form = LoginForm()
|
form = LoginForm()
|
||||||
|
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
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