Merge pull request #7799 from reasonerjt/oidc-onboard-user-name

Set the real name of OIDC user when onboarding
This commit is contained in:
Wenkai Yin 2019-05-15 11:35:42 +08:00 committed by GitHub
commit e399ffca54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,6 +194,7 @@ func (oc *OIDCController) Onboard() {
}
user := models.User{
Username: username,
Realname: d.Username,
Email: email,
OIDCUserMeta: &oidcUser,
Comment: oidcUserComment,