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{
|
uu := &user.User{
|
||||||
Username: cl.PreferredUsername,
|
Username: cl.PreferredUsername,
|
||||||
Email: cl.Email,
|
Email: cl.Email,
|
||||||
|
Name: cl.Name,
|
||||||
Status: user.StatusActive,
|
Status: user.StatusActive,
|
||||||
Issuer: issuer,
|
Issuer: issuer,
|
||||||
Subject: subject,
|
Subject: subject,
|
||||||
|
|
Loading…
Reference in a new issue