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-05-06 21:09:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-06 21:09:03 +0300
commit2b6716fbb2c0ec50bd019b3e08aff2c3b95f11fa (patch)
tree11974f309192a11e73ac883af5b9dfba4d595867 /app/models/deploy_token.rb
parent67fa8362ae35ab6134454aa74ad536eb405dff29 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/deploy_token.rb')
-rw-r--r--app/models/deploy_token.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/deploy_token.rb b/app/models/deploy_token.rb
index 360a9ffbc53..1dc8451dc09 100644
--- a/app/models/deploy_token.rb
+++ b/app/models/deploy_token.rb
@@ -126,6 +126,10 @@ class DeployToken < ApplicationRecord
end
end
+ def impersonated?
+ false
+ end
+
def expires_at
expires_at = read_attribute(:expires_at)
expires_at != Forever.date ? expires_at : nil