Login by Auth0 email implemented

This commit is contained in:
Luis Fernando Molina committed 2018-10-03 13:06:33 +02:00
1 parent 8f037f2fc7
commit 98da328b47
4 files changed
+28 -3

No files matched your search

+4 -1
View File
@@ -425,7 +425,10 @@ function authenticate (encodedToken, callBackFunction) {
let authArray = authId.split('|')
let socialAccountProvider = authArray[0]
if (socialAccountProvider !== 'github') {
if (
socialAccountProvider !== 'github' &&
socialAccountProvider !== 'auth0'
) {
if (global.ERROR_LOG === true) { console.log('[ERROR] ' + MODULE_NAME + ' -> authenticate -> onValidated -> onUserFound -> Social Account Provider not Supoorted. ') }
if (global.ERROR_LOG === true) { console.log('[ERROR] ' + MODULE_NAME + ' -> authenticate -> onValidated -> onUserFound -> socialAccountProvider = ' + socialAccountProvider) }