Set the real name of OIDC user when onboarding

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
Daniel Jiang 2019-05-15 00:44:51 +08:00
parent cbcc28ed16
commit 5f11dbe675

View File

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