diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-14 03:07:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-14 03:07:31 +0300 |
commit | dbfcd56fcbb4e148920094ab004ed175468911c3 (patch) | |
tree | c4de3a22f7dc97e59f059c1aa472527650384525 /app/models/key.rb | |
parent | 3f0848998ef99206e80ead8c68a50b5889d2ae19 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/key.rb')
-rw-r--r-- | app/models/key.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 35fc42a935f..1f2234129ed 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -38,12 +38,12 @@ class Key < ApplicationRecord signing: 2 } - after_commit :add_to_authorized_keys, on: :create after_create :post_create_hook after_create :refresh_user_cache - after_commit :remove_from_authorized_keys, on: :destroy after_destroy :post_destroy_hook after_destroy :refresh_user_cache + after_commit :add_to_authorized_keys, on: :create + after_commit :remove_from_authorized_keys, on: :destroy alias_attribute :fingerprint_md5, :fingerprint alias_attribute :name, :title |