mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: support connecting GitHub with existing accounts
This commit is contained in:
@ -41,6 +41,10 @@ class Auth::GithubAuthenticator < Auth::Authenticator
|
||||
|
||||
end
|
||||
|
||||
def can_connect_existing_user?
|
||||
true
|
||||
end
|
||||
|
||||
def after_authenticate(auth_token, existing_account: nil)
|
||||
result = Auth::Result.new
|
||||
|
||||
|
Reference in New Issue
Block a user