Skip to content
Snippets Groups Projects
Commit dcd0853c authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Allow login from custom oAuth in accounts meld

parent 3a640508
No related branches found
No related tags found
No related merge requests found
orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService
Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) -> Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) ->
if serviceName not in ['facebook', 'github', 'gitlab', 'google', 'meteor-developer', 'linkedin', 'twitter'] if serviceName not in ['facebook', 'github', 'google', 'meteor-developer', 'linkedin', 'twitter'] and serviceData._oAuthCustom isnt true
return return
if serviceName is 'meteor-developer' if serviceName is 'meteor-developer'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment