Login by Auth0 email implemented
This commit is contained in:
1 parent
8f037f2fc7
commit
98da328b47
4 files changed
+28
-3
No files matched your search
@@ -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) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user