File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,10 @@ export default function (app) {
7373 res . json ( initialPlatformLogin ) ;
7474 } else if ( req . query . authIndexValue === 'Registration' ) {
7575 res . json ( initialRegResponse ) ;
76- } else if ( req . query . authIndexValue === 'LoginWithEmail' ) {
76+ } else if (
77+ req . query . authIndexValue === 'LoginWithEmail' ||
78+ req . query . authIndexValue === 'TEST_LoginSuspendEmail'
79+ ) {
7780 if ( typeof req . query . suspendedId === 'string' && req . query . suspendedId . length ) {
7881 res . cookie ( 'iPlanetDirectoryPro' , 'abcd1234' , { domain : 'localhost' } ) ;
7982 res . json ( authSuccess ) ;
@@ -111,7 +114,10 @@ export default function (app) {
111114 res . json ( initialBasicLogin ) ;
112115 }
113116 }
114- } else if ( req . query . authIndexValue === 'LoginWithEmail' ) {
117+ } else if (
118+ req . query . authIndexValue === 'LoginWithEmail' ||
119+ req . query . authIndexValue === 'TEST_LoginSuspendEmail'
120+ ) {
115121 res . json ( emailSuspend ) ;
116122 } else if ( req . query . authIndexValue === 'RecaptchaEnterprise' ) {
117123 console . log ( req . body . callbacks ) ;
You can’t perform that action at this time.
0 commit comments