fix: friendly name not getting synced on first login from openid

Resolves #874
This commit is contained in:
kolaente 2021-12-12 12:35:13 +01:00
parent 5c88dfe88e
commit 190a9f2a4c
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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,