// 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
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 {