Commit 0cc7286a authored by Alexis Reigel's avatar Alexis Reigel
Browse files

use User#verified_email? for gpg key verification

parent 61b311f972d0
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
def verified_user_infos def verified_user_infos
user_infos.select do |user_info| user_infos.select do |user_info|
user_info[:email] == user.email user.verified_email?(user_info[:email])
end end
end end
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
user_infos.map do |user_info| user_infos.map do |user_info|
[ [
user_info[:email], user_info[:email],
user_info[:email] == user.email user.verified_email?(user_info[:email])
] ]
end.to_h end.to_h
end end
......
Supports Markdown
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