mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Merge branch 'issue_3854' into 'master'
Downcase commit author email for matching with users Closes #3854 See merge request !1992
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user