mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 16:44:06 +09:00
refactor: rename to actions
This commit is contained in:
@ -113,10 +113,10 @@ func (b *Basic) Verify(req *http.Request, w http.ResponseWriter, store DataStore
|
||||
if err == nil && task != nil {
|
||||
log.Trace("Basic Authorization: Valid AccessToken for task[%d]", task.ID)
|
||||
|
||||
store.GetData()["IsBotToken"] = true
|
||||
store.GetData()["BotTaskID"] = task.ID
|
||||
store.GetData()["IsActionsToken"] = true
|
||||
store.GetData()["ActionsTaskID"] = task.ID
|
||||
|
||||
return user_model.NewBotUser()
|
||||
return user_model.NewActionsUser()
|
||||
}
|
||||
|
||||
if !setting.Service.EnableBasicAuth {
|
||||
|
Reference in New Issue
Block a user