Commit 31704680 by Elan Ruusamäe

post_receive: accept any user email from last commit

parent e4c05de7
---
title: "post_receive: accept any user email from last commit"
merge_request: 7225
author: Elan Ruusamäe
......@@ -24,7 +24,7 @@ module Gitlab
email = commit.author_email
identify_with_cache(:email, email) do
User.find_by(email: email)
User.find_by_any_email(email)
end
end
......
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