fix: auth return

This commit is contained in:
Jason Song 2022-12-28 18:26:31 +08:00
parent c393a9ca93
commit d8f2343497
No known key found for this signature in database
GPG Key ID: 8402EEEE4511A8B5

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 {