Normalize email when looking for GitLab users from commit info. #3854
This commit is contained in:
parent
9bfd6c44e2
commit
7e8fc48227
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue