diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-08-24 14:21:42 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-05 12:18:32 +0200 |
commit | 00392d929b4553a9ed8e1938cb11f091b79566c9 (patch) | |
tree | a5b61a15f1283bec4bc6b0e471186d09c3893f65 /app/models/gpg_signature.rb | |
parent | 2a89037b63967aac0725cf4e122cecbe0c3c5596 (diff) | |
download | gitlab-ce-00392d929b4553a9ed8e1938cb11f091b79566c9.tar.gz |
add verification_status: same_user_different_email
this is used to make a difference between a committer email that belongs
to user, where the user used a different email for the gpg key. this
means that the user is the same, but a different, unverified email is
used for the signature.
Diffstat (limited to 'app/models/gpg_signature.rb')
-rw-r--r-- | app/models/gpg_signature.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/gpg_signature.rb b/app/models/gpg_signature.rb index a94c42c5334..1f047a32c84 100644 --- a/app/models/gpg_signature.rb +++ b/app/models/gpg_signature.rb @@ -7,9 +7,10 @@ class GpgSignature < ActiveRecord::Base enum verification_status: { unverified: 0, verified: 1, - other_user: 2, - unverified_key: 3, - unknown_key: 4 + same_user_different_email: 2, + other_user: 3, + unverified_key: 4, + unknown_key: 5 } belongs_to :project |