From 022d011a49b0eaa0cbf6deb6d769950ae10d98a7 Mon Sep 17 00:00:00 2001 From: prakharlowanshi Date: Tue, 12 May 2026 11:47:06 +0530 Subject: [PATCH] fix the register page --- apps/36-blocks-widget/src/app/otp/widget/widget.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;