tango-app-ui-auth 3.5.0-beta.8-prod-dev → 3.5.0-beta.8-prod-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -294,6 +294,11 @@ class TangoAuthLoginComponent {
294
294
  loginAttemptCount = 0;
295
295
  onLogin(resend) {
296
296
  // localStorage.clear();
297
+ if (!this.captchaToken) {
298
+ alert('Please complete the reCAPTCHA');
299
+ return;
300
+ }
301
+ console.log('Login with:', this.credentials, 'Captcha:', this.captchaToken);
297
302
  this.hasError = false;
298
303
  this.isLoading = true;
299
304
  this.show = false;