Merge pull request #238 from writeas/oauth-bugfix-alias-signature

OAuth alias field not set correctly
pull/245/head
Matt Baer 5 years ago committed by GitHub
commit c7b797929b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      oauth.go

@ -224,6 +224,11 @@ func (h oauthHandler) viewOauthCallback(app *App, w http.ResponseWriter, r *http
return nil
}
displayName := tokenInfo.DisplayName
if len(displayName) == 0 {
displayName = tokenInfo.Username
}
tp := &oauthSignupPageParams{
AccessToken: tokenResponse.AccessToken,
TokenUsername: tokenInfo.Username,

Loading…
Cancel
Save