Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-14 03:10:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-14 03:10:29 +0300
commit3521fa595b022a402f3ed1e8c423021e6ad8ae49 (patch)
tree6cfbb28fcf84409f42212753abd05740ceeae3e4 /lib/gitlab/cleanup
parent21eec1097daf6817af98894cf53fa436a25c5ce1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/cleanup')
-rw-r--r--lib/gitlab/cleanup/personal_access_tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/cleanup/personal_access_tokens.rb b/lib/gitlab/cleanup/personal_access_tokens.rb
index 88665e6ada5..a1e4b5765c2 100644
--- a/lib/gitlab/cleanup/personal_access_tokens.rb
+++ b/lib/gitlab/cleanup/personal_access_tokens.rb
@@ -61,7 +61,7 @@ module Gitlab
PersonalAccessToken
.active
.owner_is_human
- .last_used_before(cut_off_date)
+ .last_used_before_or_unused(cut_off_date)
.for_users(group.users)
end
end