FIX: support connecting GitHub with existing accounts

This commit is contained in:
Sam
2018-12-10 09:27:00 +11:00
parent c84b837d50
commit 502a0fe778
2 changed files with 6 additions and 0 deletions

View File

@ -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