Skip to content

Commit f76c300

Browse files
authored
Fix typo (#14332)
1 parent edbc5c8 commit f76c300

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/auth/sso/sspi_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (s *SSPI) VerifyAuthData(req *http.Request, w http.ResponseWriter, store Da
9595
// to login with another authentication method if SSPI authentication
9696
// fails
9797
store.GetData()["Flash"] = map[string]string{
98-
"ErrMsg": err.Error(),
98+
"ErrorMsg": err.Error(),
9999
}
100100
store.GetData()["EnableOpenIDSignIn"] = setting.Service.EnableOpenIDSignIn
101101
store.GetData()["EnableSSPI"] = true

routers/routes/recovery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func Recovery() func(next http.Handler) http.Handler {
9595
w.Header().Set(`X-Frame-Options`, `SAMEORIGIN`)
9696

9797
if setting.RunMode != "prod" {
98-
store.Data["ErrMsg"] = combinedErr
98+
store.Data["ErrorMsg"] = combinedErr
9999
}
100100
err = rnd.HTML(w, 500, "status/500", templates.BaseVars().Merge(store.Data))
101101
if err != nil {

0 commit comments

Comments
 (0)