debug message for the plethora of calls to the validate email endpoint

pull/8/head
Chris Veilleux 2019-05-28 20:27:48 -05:00
parent 850c2a9866
commit 7c10627677
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ export function uniqueEmailValidator(apiService: ApiService): AsyncValidatorFn {
} else {
loginToken = {platform: 'Internal', token: ''};
}
console.log('in the unique email validator');
return apiService.validateEmailAddress(loginToken).pipe(
map((response) => response.accountExists ? { duplicateEmail: true } : null),
catchError(() => null),