Commit d71d10c9 authored by Alexis Reigel's avatar Alexis Reigel
Browse files

use User#verified_email? for gpg key verification

parent 61b311f972d0
......@@ -56,7 +56,7 @@ def user_infos
def verified_user_infos
user_infos.select do |user_info|
user_info[:email] == user.email
user.verified_email?(user_info[:email])
end
end
......@@ -64,7 +64,7 @@ def emails_with_verified_status
user_infos.map do |user_info|
[
user_info[:email],
user_info[:email] == user.email
user.verified_email?(user_info[:email])
]
end.to_h
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment