Skip to content

Commit

Permalink
fix duplicate account creation with ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
dax committed Jun 2, 2024
1 parent a28baf0 commit 394ff88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warp/auth_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def login():

if flask.request.method == 'POST':

u = flask.request.form.get('login')
u = flask.request.form.get('login').lower()
p = flask.request.form.get('password')

LDAP_EXCLUDED_USERS = flask.current_app.config.get('LDAP_EXCLUDED_USERS', [])
Expand Down

0 comments on commit 394ff88

Please sign in to comment.