Skip to content

Commit 5fb7b98

Browse files
committed
cleanup
1 parent 7ffd6c1 commit 5fb7b98

File tree

1 file changed

+10
-8
lines changed
  • services/web/server/src/simcore_service_webserver/login

1 file changed

+10
-8
lines changed

services/web/server/src/simcore_service_webserver/login/_constants.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,20 @@
6060
"No phone number is associated with this account.", _version=1
6161
)
6262
MSG_UNAUTHORIZED_CODE_RESEND_2FA: Final[str] = user_message(
63-
"You can no longer resend the code. Please restart the verification process.",
64-
_version=1,
63+
"You can no longer resend the verification code. Please restart the verification process.",
64+
_version=2,
6565
)
6666
MSG_UNAUTHORIZED_LOGIN_2FA: Final[str] = user_message(
67-
"You can no longer submit a code. Please restart the login process.", _version=1
67+
"You can no longer submit a verification code. Please restart the login process.",
68+
_version=2,
6869
)
6970
MSG_UNAUTHORIZED_REGISTER_PHONE: Final[str] = user_message(
7071
"Phone registration is no longer allowed. Please restart the registration process.",
7172
_version=1,
7273
)
7374
MSG_UNAUTHORIZED_PHONE_CONFIRMATION: Final[str] = user_message(
74-
"You can no longer submit a code. Please restart the confirmation process.",
75-
_version=1,
75+
"You can no longer submit a verification code. Please restart the confirmation process.",
76+
_version=2,
7677
)
7778
MSG_UNKNOWN_EMAIL: Final[str] = user_message(
7879
"This email address is not registered.", _version=1
@@ -94,11 +95,12 @@
9495
_version=1,
9596
)
9697
MSG_WRONG_2FA_CODE__INVALID: Final[str] = user_message(
97-
"The code entered is not valid. Please enter a valid code or generate a new one.",
98-
_version=1,
98+
"The verification code entered is not valid. Please enter a valid verification code or generate a new one.",
99+
_version=2,
99100
)
100101
MSG_WRONG_2FA_CODE__EXPIRED: Final[str] = user_message(
101-
"The code has expired. Please generate a new code.", _version=1
102+
"The verification code is either incorrect or has expired. Please request a new verification code and try again.",
103+
_version=3,
102104
)
103105
MSG_WRONG_CAPTCHA__INVALID: Final[str] = user_message(
104106
"The CAPTCHA entered is incorrect. Please try again.", _version=1

0 commit comments

Comments
 (0)