diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-06 21:09:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-06 21:09:03 +0300 |
commit | 2b6716fbb2c0ec50bd019b3e08aff2c3b95f11fa (patch) | |
tree | 11974f309192a11e73ac883af5b9dfba4d595867 /app/models/deploy_token.rb | |
parent | 67fa8362ae35ab6134454aa74ad536eb405dff29 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/deploy_token.rb')
-rw-r--r-- | app/models/deploy_token.rb | 4 |
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 |