mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
fix: wrong sub return and docker-compose boolean value error. (#375)
* fix: wrong sub return Signed-off-by: 0x2a <stevesough@gmail.com> * fix: yaml bool value must be enclosed in quotes Signed-off-by: 0x2a <stevesough@gmail.com>
This commit is contained in:
@ -220,7 +220,7 @@ func (c *ApiController) GetAccount() {
|
||||
organization := object.GetMaskedOrganization(object.GetOrganizationByUser(user))
|
||||
resp := Response{
|
||||
Status: "ok",
|
||||
Sub: userId,
|
||||
Sub: user.Id,
|
||||
Data: user,
|
||||
Data2: organization,
|
||||
}
|
||||
|
Reference in New Issue
Block a user