make user enter current password when modifying password

This commit is contained in:
MaysWind
2020-10-31 21:39:43 +08:00
parent 91162a140a
commit 40f86e4ce6
6 changed files with 76 additions and 8 deletions
+4
View File
@@ -48,6 +48,7 @@ export default {
'password': '密码',
'email': '电子邮箱',
'nickname': '昵称',
'oldPassword': '当前密码',
},
'parameterizedError': {
'parameter invalid': '{parameter}无效',
@@ -64,6 +65,7 @@ export default {
'Close': '关闭',
'Update': '更新',
'Done': '完成',
'Continue': '继续',
'Version': '版本',
'User': '用户',
'Application': '应用',
@@ -113,6 +115,8 @@ export default {
'Unable to sign up': '无法注册',
'User registration is disabled': '用户注册已禁用',
'Unable to get user profile': '无法获取用户信息',
'Current Password': '当前密码',
'Please enter your current password when modifying your password': '修改密码时请输入您的当前密码',
'Nothing has been modified': '没有修改的项目',
'Your profile has been successfully updated': '您的用户信息更新成功',
'Unable to update user profile': '无法更新用户信息',