diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-03 00:09:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-03 00:09:03 +0300 |
commit | 03cd2a56f32310def67fefdc34797833a5daf770 (patch) | |
tree | 1cefc8769ffc7752183cab6dd9974e259295324d /app/models/commit_signatures/gpg_signature.rb | |
parent | 983f6954d19f269a059aab1754568737d9ab6f64 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/commit_signatures/gpg_signature.rb')
-rw-r--r-- | app/models/commit_signatures/gpg_signature.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/commit_signatures/gpg_signature.rb b/app/models/commit_signatures/gpg_signature.rb index 1ce76b53da4..2ae59853520 100644 --- a/app/models/commit_signatures/gpg_signature.rb +++ b/app/models/commit_signatures/gpg_signature.rb @@ -49,5 +49,9 @@ module CommitSignatures Gitlab::Gpg::Commit.new(commit) end + + def user + gpg_key&.user + end end end |