mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	fix: auth return
This commit is contained in:
		@@ -116,7 +116,7 @@ func (b *Basic) Verify(req *http.Request, w http.ResponseWriter, store DataStore
 | 
			
		||||
		store.GetData()["IsActionsToken"] = true
 | 
			
		||||
		store.GetData()["ActionsTaskID"] = task.ID
 | 
			
		||||
 | 
			
		||||
		return user_model.NewActionsUser()
 | 
			
		||||
		return user_model.NewActionsUser(), nil
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if !setting.Service.EnableBasicAuth {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user