summaryrefslogtreecommitdiffstats
path: root/modules/auth/sso
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-14 23:35:10 +0800
committerGitHub <noreply@github.com>2021-01-14 23:35:10 +0800
commitf76c30094f086162d09926a95e9a75c91177a674 (patch)
treed68197d41a3f6cf0a2f86b2310752e0f128ece93 /modules/auth/sso
parentedbc5c86dfda07a0eada0acd7461a610fee00ae3 (diff)
downloadgitea-f76c30094f086162d09926a95e9a75c91177a674.tar.gz
gitea-f76c30094f086162d09926a95e9a75c91177a674.zip
Fix typo (#14332)
Diffstat (limited to 'modules/auth/sso')
-rw-r--r--modules/auth/sso/sspi_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/sso/sspi_windows.go b/modules/auth/sso/sspi_windows.go
index 44dfa81aa1..46309c27f7 100644
--- a/modules/auth/sso/sspi_windows.go
+++ b/modules/auth/sso/sspi_windows.go
@@ -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