diff --git a/apps/36-blocks-widget/src/app/otp/widget/widget.component.ts b/apps/36-blocks-widget/src/app/otp/widget/widget.component.ts index 3c0300fc..edf96c3e 100644 --- a/apps/36-blocks-widget/src/app/otp/widget/widget.component.ts +++ b/apps/36-blocks-widget/src/app/otp/widget/widget.component.ts @@ -873,7 +873,7 @@ export class ProxyAuthWidgetComponent extends BaseComponent implements OnInit, O loginButton.disabled = false; loginButton.textContent = originalText; - if (error?.status === 403 && this.isCreateAccountTextAppended) { + if (error?.status === 403 && !this.isCreateAccountTextAppended) { this.setShowRegistration(true, username); resetHCaptcha(); return; @@ -1546,7 +1546,7 @@ export class ProxyAuthWidgetComponent extends BaseComponent implements OnInit, O } }, (error: HttpErrorResponse) => { - if (error?.status === 403 && this.isCreateAccountTextAppended) { + if (error?.status === 403 && !this.isCreateAccountTextAppended) { this.setShowRegistration(true); this.show.set(true); this.registrationViaLogin = false;