Skip to content

Commit

Permalink
Fix typo (#14332)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jan 14, 2021
1 parent edbc5c8 commit f76c300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/auth/sso/sspi_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (s *SSPI) VerifyAuthData(req *http.Request, w http.ResponseWriter, store Da
// to login with another authentication method if SSPI authentication
// fails
store.GetData()["Flash"] = map[string]string{
"ErrMsg": err.Error(),
"ErrorMsg": err.Error(),
}
store.GetData()["EnableOpenIDSignIn"] = setting.Service.EnableOpenIDSignIn
store.GetData()["EnableSSPI"] = true
Expand Down
2 changes: 1 addition & 1 deletion routers/routes/recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func Recovery() func(next http.Handler) http.Handler {
w.Header().Set(`X-Frame-Options`, `SAMEORIGIN`)

if setting.RunMode != "prod" {
store.Data["ErrMsg"] = combinedErr
store.Data["ErrorMsg"] = combinedErr
}
err = rnd.HTML(w, 500, "status/500", templates.BaseVars().Merge(store.Data))
if err != nil {
Expand Down

0 comments on commit f76c300

Please sign in to comment.