1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 19:58:36 +00:00

fix: auth return

This commit is contained in:
Jason Song
2022-12-28 18:26:31 +08:00
parent c393a9ca93
commit d8f2343497

View File

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