mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 03:00:18 +08:00
Fix address null bug.
This commit is contained in:
@ -293,6 +293,7 @@ func (c *ApiController) Login() {
|
||||
Type: "normal-user",
|
||||
DisplayName: userInfo.DisplayName,
|
||||
Avatar: userInfo.AvatarUrl,
|
||||
Address: []string{},
|
||||
Email: userInfo.Email,
|
||||
Score: score,
|
||||
IsAdmin: false,
|
||||
|
Reference in New Issue
Block a user