Skip to content
Snippets Groups Projects
Commit 30b34437 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Now we would be validating authentication token

parent a065c8d5
No related branches found
No related tags found
1 merge request!3363Implement #3243 New Issue by email
Loading
Loading
@@ -91,9 +91,6 @@ module Gitlab
authentication_token
end
 
# Find the first matched user in database from email From: section
# TODO: Since this address could be forged, we should have some kind of
# auth token attached somewhere to verify the identity better.
def message_sender
@message_sender ||= message.from.find do |email|
user = User.find_by_any_email(email)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment