Commit 57f7a4db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'issue_3854' into 'master'

Downcase commit author email for matching with users

Closes #3854 

See merge request !1992
parents d7044c5c 7e8fc482
......@@ -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