mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 06:15:41 +08:00
SECURITY: GitHub returns unvalidated emails
This commit is contained in:
parent
86244e3a4b
commit
35ee341122
@ -32,7 +32,7 @@ class Auth::GithubAuthenticator < Auth::Authenticator
|
||||
end
|
||||
|
||||
result.user = user
|
||||
result.email_valid = true
|
||||
result.email_valid = false
|
||||
|
||||
result
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user