mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Fix typo (#14332)
This commit is contained in:
		@@ -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
 | 
							// to login with another authentication method if SSPI authentication
 | 
				
			||||||
		// fails
 | 
							// fails
 | 
				
			||||||
		store.GetData()["Flash"] = map[string]string{
 | 
							store.GetData()["Flash"] = map[string]string{
 | 
				
			||||||
			"ErrMsg": err.Error(),
 | 
								"ErrorMsg": err.Error(),
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		store.GetData()["EnableOpenIDSignIn"] = setting.Service.EnableOpenIDSignIn
 | 
							store.GetData()["EnableOpenIDSignIn"] = setting.Service.EnableOpenIDSignIn
 | 
				
			||||||
		store.GetData()["EnableSSPI"] = true
 | 
							store.GetData()["EnableSSPI"] = true
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -95,7 +95,7 @@ func Recovery() func(next http.Handler) http.Handler {
 | 
				
			|||||||
					w.Header().Set(`X-Frame-Options`, `SAMEORIGIN`)
 | 
										w.Header().Set(`X-Frame-Options`, `SAMEORIGIN`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					if setting.RunMode != "prod" {
 | 
										if setting.RunMode != "prod" {
 | 
				
			||||||
						store.Data["ErrMsg"] = combinedErr
 | 
											store.Data["ErrorMsg"] = combinedErr
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					err = rnd.HTML(w, 500, "status/500", templates.BaseVars().Merge(store.Data))
 | 
										err = rnd.HTML(w, 500, "status/500", templates.BaseVars().Merge(store.Data))
 | 
				
			||||||
					if err != nil {
 | 
										if err != nil {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user