mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
fix: mask user in get-account response (#1450)
This commit is contained in:
parent
1f39027b78
commit
ddb5e26fcd
@ -276,7 +276,7 @@ func (c *ApiController) GetAccount() {
|
||||
Status: "ok",
|
||||
Sub: user.Id,
|
||||
Name: user.Name,
|
||||
Data: user,
|
||||
Data: object.GetMaskedUser(user),
|
||||
Data2: organization,
|
||||
}
|
||||
c.Data["json"] = resp
|
||||
|
Loading…
x
Reference in New Issue
Block a user