mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
auth: Tweak invalid credentials error message.
We decided this is the better string to use.
This commit is contained in:
committed by
Tim Abbott
parent
94a86d4ac2
commit
481ef24b53
@@ -993,7 +993,7 @@ class LoginTest(ZulipTestCase):
|
||||
def test_login_nonexistent_user(self) -> None:
|
||||
result = self.login_with_return("xxx@zulip.com", "xxx")
|
||||
self.assertEqual(result.status_code, 200)
|
||||
self.assert_in_response("Please enter a correct email and password.", result)
|
||||
self.assert_in_response("Incorrect email or password.", result)
|
||||
self.assert_logged_in_user_id(None)
|
||||
|
||||
def test_login_wrong_subdomain(self) -> None:
|
||||
@@ -1009,7 +1009,7 @@ class LoginTest(ZulipTestCase):
|
||||
],
|
||||
)
|
||||
self.assertEqual(result.status_code, 200)
|
||||
expected_error = "Please enter a correct email and password."
|
||||
expected_error = "Incorrect email or password."
|
||||
self.assert_in_response(expected_error, result)
|
||||
self.assert_logged_in_user_id(None)
|
||||
|
||||
|
Reference in New Issue
Block a user