debug message for the plethora of calls to the validate email endpoint
parent
850c2a9866
commit
7c10627677
|
@ -53,6 +53,7 @@ export function uniqueEmailValidator(apiService: ApiService): AsyncValidatorFn {
|
||||||
} else {
|
} else {
|
||||||
loginToken = {platform: 'Internal', token: ''};
|
loginToken = {platform: 'Internal', token: ''};
|
||||||
}
|
}
|
||||||
|
console.log('in the unique email validator');
|
||||||
return apiService.validateEmailAddress(loginToken).pipe(
|
return apiService.validateEmailAddress(loginToken).pipe(
|
||||||
map((response) => response.accountExists ? { duplicateEmail: true } : null),
|
map((response) => response.accountExists ? { duplicateEmail: true } : null),
|
||||||
catchError(() => null),
|
catchError(() => null),
|
||||||
|
|
Loading…
Reference in New Issue