Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed Jun 21, 2021
1 parent 8dc6272 commit 6587499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passhportd/app/views_mod/user/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def user_login():
# Check for required fields
if not login or not password:
return utils.response("ERROR: The login and password are required ", 417)
elif login != escape_rdn(login):
elif login != escape_filter_chars(login):
return utils.response("ERROR: Bad input", 417)

# Check data validity uppon LDAP/local/whatever...
Expand Down

0 comments on commit 6587499

Please sign in to comment.