Commit 7e8fc482 authored by Rubén Dávila's avatar Rubén Dávila

Normalize email when looking for GitLab users from commit info. #3854

parent 9bfd6c44
...@@ -175,11 +175,11 @@ class Commit ...@@ -175,11 +175,11 @@ class Commit
end end
def author def author
@author ||= User.find_by_any_email(author_email) @author ||= User.find_by_any_email(author_email.downcase)
end end
def committer def committer
@committer ||= User.find_by_any_email(committer_email) @committer ||= User.find_by_any_email(committer_email.downcase)
end end
def parents def parents
......
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