mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 03:06:39 +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
|
end
|
||||||
|
|
||||||
result.user = user
|
result.user = user
|
||||||
result.email_valid = true
|
result.email_valid = false
|
||||||
|
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user