From 35ee34112274740cae7eb2f8b5c1f2db64a324df Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 26 Mar 2014 10:55:36 +1100 Subject: [PATCH] SECURITY: GitHub returns unvalidated emails --- lib/auth/github_authenticator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth/github_authenticator.rb b/lib/auth/github_authenticator.rb index a5c82e098..50b63c27b 100644 --- a/lib/auth/github_authenticator.rb +++ b/lib/auth/github_authenticator.rb @@ -32,7 +32,7 @@ class Auth::GithubAuthenticator < Auth::Authenticator end result.user = user - result.email_valid = true + result.email_valid = false result end