Commit b017e437 by John McBride Committed by GitHub

Fix typo in oauth error (#23270)

fixes: #23269
parent 51e485e2
...@@ -302,7 +302,7 @@ func checkWhiteList(c *models.ReqContext, host string) bool { ...@@ -302,7 +302,7 @@ func checkWhiteList(c *models.ReqContext, host string) bool {
func addOAuthPassThruAuth(c *models.ReqContext, req *http.Request) { func addOAuthPassThruAuth(c *models.ReqContext, req *http.Request) {
authInfoQuery := &models.GetAuthInfoQuery{UserId: c.UserId} authInfoQuery := &models.GetAuthInfoQuery{UserId: c.UserId}
if err := bus.Dispatch(authInfoQuery); err != nil { if err := bus.Dispatch(authInfoQuery); err != nil {
logger.Error("Error feching oauth information for user", "error", err) logger.Error("Error fetching oauth information for user", "error", err)
return return
} }
......
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