diff --git a/lib/auth/facebook_authenticator.rb b/lib/auth/facebook_authenticator.rb index 3b5ddf50361..b4c48ae6746 100644 --- a/lib/auth/facebook_authenticator.rb +++ b/lib/auth/facebook_authenticator.rb @@ -12,7 +12,7 @@ class Auth::FacebookAuthenticator < Auth::Authenticator facebook_hash = session_info[:facebook] result.email = email = session_info[:email] - result.email_valid = true + result.email_valid = !email.blank? result.name = facebook_hash[:name] result.extra_data = facebook_hash