fix(auth): 修改密码当新密码与旧密码相同时弹出错误,不再退出登录

This commit is contained in:
sophie committed 2026-09-08 13:32:39 +08:00
1 parent 9570197378
commit 0f8b318458
18 files changed
+247 -18

No files matched your search

+1
View File
@@ -51,6 +51,7 @@
"passwordPolicy": "New password does not meet security requirements",
"setPasswordFailed": "Failed to change password. Please try again or contact the administrator.",
"incorrectCurrentPassword": "Original: current password is incorrect. New: the password you entered is incorrect; please try again.",
"passwordUnchanged": "The new password must be different from the current password.",
"userNotInIdp": "Your account has not been registered in the authentication system. Please contact the administrator to sync your account before changing your password."
},
"casdoorDialogTitles": {
+1
View File
@@ -119,6 +119,7 @@
"SHIPPING_CUSTOMER_MERGE_CONFIRMATION_INVALID": "The source customer short code for merge confirmation is incorrect.",
"AUTH_INCORRECT_PASSWORD": "Incorrect password",
"AUTH_INCORRECT_CURRENT_PASSWORD": "The current password you entered is incorrect. Please try again.",
"AUTH_PASSWORD_UNCHANGED": "The new password must be different from the current password.",
"AUTH_USER_NOT_FOUND": "User not found",
"AUTH_ACCOUNT_DISABLED": "Account is disabled",
"AUTH_CASDOOR_IDENTITY_INVALID": "Casdoor did not return a stable user identity. Check the OIDC configuration.",