pull/702/head
hunterlong 2020-06-25 22:52:45 -07:00
parent d9a5aa84fa
commit 918035455a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func oauthLogin(oauth *oAuth, w http.ResponseWriter, r *http.Request) {
Email: oauth.Email,
Admin: null.NewNullBool(true),
}
log.Infoln(fmt.Sprintf("OAuth %s User %s logged in from IP %s", oauth.Type, oauth.Email, r.RemoteAddr))
log.Infoln(fmt.Sprintf("OAuth %s User %s logged in from IP %s", oauth.Type(), oauth.Email, r.RemoteAddr))
setJwtToken(user, w)
http.Redirect(w, r, core.App.Domain+"/dashboard", http.StatusPermanentRedirect)