Skip to content

Commit

Permalink
style: run pre commit and fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbgap committed Jul 2, 2024
1 parent 8695504 commit 59448f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerta/auth/basic_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def login():
user = User(name=name, login=login, password='', email=email,
roles=current_app.config['USER_ROLES'], text='LDAP user', email_verified=email_verified)
user = user.create()
elif not current_app.config.get("LDAP_ALLOW_EMAIL_EDIT"):
elif not current_app.config.get('LDAP_ALLOW_EMAIL_EDIT'):
user.update(login=login, email=email, email_verified=email_verified)
else:
user.update(login=login)
Expand Down

0 comments on commit 59448f6

Please sign in to comment.