From fe49b281fbdca7c91ce680a861f9d5e24d91ea05 Mon Sep 17 00:00:00 2001 From: Anvay Date: Sat, 29 Nov 2025 03:41:39 +0530 Subject: [PATCH] =?UTF-8?q?WEB-430:=20Fix=20Dead=20=E2=80=9CForgot=20Passw?= =?UTF-8?q?ord=E2=80=9D=20Button=20and=20Replace=20TODO=20Handlers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove 'Forgot Password' button from login form (no backend support) - Remove forgotPassword() method that only logged to console - Remove TODO comment about forgot password decision - Clean up login form layout and method spacing This eliminates dead UI elements and improves UX by not showing features that aren't actually available. The button can be added back when password reset functionality is implemented in the backend. Resolves WEB-430 --- src/app/login/login-form/login-form.component.html | 10 ---------- src/app/login/login-form/login-form.component.ts | 9 --------- src/app/login/login.component.html | 1 - 3 files changed, 20 deletions(-) diff --git a/src/app/login/login-form/login-form.component.html b/src/app/login/login-form/login-form.component.html index ff0c012b7..1c34fa67f 100644 --- a/src/app/login/login-form/login-form.component.html +++ b/src/app/login/login-form/login-form.component.html @@ -44,16 +44,6 @@ {{ 'labels.buttons.Login' | translate }} - - diff --git a/src/app/login/login-form/login-form.component.ts b/src/app/login/login-form/login-form.component.ts index dcf93cae1..04e4762a7 100644 --- a/src/app/login/login-form/login-form.component.ts +++ b/src/app/login/login-form/login-form.component.ts @@ -106,22 +106,13 @@ export class LoginFormComponent implements OnInit { * * Changes the input type between 'password' and 'text'. */ - togglePasswordVisibility() { this.passwordInputType = this.passwordInputType === 'password' ? 'text' : 'password'; } - /** - * TODO: Decision to be taken on providing this feature. - */ - forgotPassword() { - console.log('Forgot Password feature currently unavailable.'); - } - /** * Creates login form with validation rules. */ - private createLoginForm() { this.loginForm = this.formBuilder.group({ username: [ diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 03d17513f..006a18c45 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -61,7 +61,6 @@ Login Reset Password Two Factor Authentication - Forgot Password (TODO: Decision to be taken on providing this feature.) -->