mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 10:08:03 +08:00
修复超级管理员无法修改用户真实姓名的BUG
This commit is contained in:
@@ -212,6 +212,7 @@ func (c *ManagerController) EditMember() {
|
||||
member.Email = email
|
||||
member.Phone = phone
|
||||
member.Description = description
|
||||
member.RealName = c.GetString("real_name")
|
||||
if password1 != "" && password2 != password1 {
|
||||
c.JsonResult(6001, "确认密码不正确")
|
||||
}
|
||||
|
Reference in New Issue
Block a user