fix: friendly name not getting synced on first login from openid
Resolves #874
This commit is contained in:
parent
5c88dfe88e
commit
190a9f2a4c
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ func getOrCreateUser(s *xorm.Session, cl *claims, issuer, subject string) (u *us
|
|||
uu := &user.User{
|
||||
Username: cl.PreferredUsername,
|
||||
Email: cl.Email,
|
||||
Name: cl.Name,
|
||||
Status: user.StatusActive,
|
||||
Issuer: issuer,
|
||||
Subject: subject,
|
||||
|
|
Loading…
Reference in a new issue