mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 20:28:40 +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()["IsActionsToken"] = true
|
||||||
store.GetData()["ActionsTaskID"] = task.ID
|
store.GetData()["ActionsTaskID"] = task.ID
|
||||||
|
|
||||||
return user_model.NewActionsUser()
|
return user_model.NewActionsUser(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if !setting.Service.EnableBasicAuth {
|
if !setting.Service.EnableBasicAuth {
|
||||||
|
Reference in New Issue
Block a user