feat: 实现修改管理员密码的功能

This commit is contained in:
Baobhan Sith
2025-04-15 11:35:25 +08:00
parent 839b2328a8
commit ffb772546d
13 changed files with 476 additions and 3 deletions
+20 -1
View File
@@ -6,7 +6,8 @@
"proxies": "Proxies",
"login": "Login",
"logout": "Logout",
"tags": "Tags"
"tags": "Tags",
"settings": "Settings"
},
"login": {
"title": "User Login",
@@ -276,5 +277,23 @@
"status": {
"never": "Never"
}
},
"settings": {
"title": "Global Settings",
"changePassword": {
"title": "Change Password",
"currentPassword": "Current Password:",
"newPassword": "New Password:",
"confirmPassword": "Confirm New Password:",
"submit": "Change Password",
"success": "Password changed successfully!",
"error": {
"passwordsDoNotMatch": "New password and confirmation do not match.",
"generic": "Failed to change password. Please try again later."
}
}
},
"common": {
"loading": "Loading..."
}
}
+20 -1
View File
@@ -6,7 +6,8 @@
"proxies": "代理管理",
"login": "登录",
"logout": "登出",
"tags": "标签管理"
"tags": "标签管理",
"settings": "设置"
},
"login": {
"title": "用户登录",
@@ -279,5 +280,23 @@
"status": {
"never": "从未"
}
},
"settings": {
"title": "全局设置",
"changePassword": {
"title": "修改密码",
"currentPassword": "当前密码:",
"newPassword": "新密码:",
"confirmPassword": "确认新密码:",
"submit": "确认修改",
"success": "密码修改成功!",
"error": {
"passwordsDoNotMatch": "新密码和确认密码不匹配。",
"generic": "修改密码失败,请稍后重试。"
}
}
},
"common": {
"loading": "加载中..."
}
}