Commit bfcb8a47 by Erik Sundell Committed by GitHub

Set signed in users email correctly (#30249)

parent c040d36a
...@@ -127,7 +127,7 @@ func BackendUserFromSignedInUser(su *models.SignedInUser) *backend.User { ...@@ -127,7 +127,7 @@ func BackendUserFromSignedInUser(su *models.SignedInUser) *backend.User {
return &backend.User{ return &backend.User{
Login: su.Login, Login: su.Login,
Name: su.Name, Name: su.Name,
Email: su.Name, Email: su.Email,
Role: string(su.OrgRole), Role: string(su.OrgRole),
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment