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
No related merge requests found
......@@ -175,11 +175,11 @@ class Commit
end
def author
@author ||= User.find_by_any_email(author_email)
@author ||= User.find_by_any_email(author_email.downcase)
end
def committer
@committer ||= User.find_by_any_email(committer_email)
@committer ||= User.find_by_any_email(committer_email.downcase)
end
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