Merge branch 'bug/login-typo' into 'dev'

Fix typo in error message

See merge request crafty-controller/crafty-4!298
This commit is contained in:
Iain Powrie 2022-06-05 20:05:53 +00:00
commit 598b504272

View File

@ -182,7 +182,7 @@ class PublicHandler(BaseHandler):
# self.clear_cookie("user")
# self.clear_cookie("user_data")
self.clear_cookie("token")
error_msg = "Inncorrect username or password. Please try again."
error_msg = "Incorrect username or password. Please try again."
# log this failed login attempt
self.controller.management.add_to_audit_log(
user_data.user_id, "Tried to log in", 0, self.get_remote_ip()