From 18a014d73970073e25e4129980f4d33c4e72c427 Mon Sep 17 00:00:00 2001 From: Rajnikant Date: Tue, 31 May 2022 14:12:18 +0530 Subject: [PATCH] update --- src/app/components/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/login/login.component.ts b/src/app/components/login/login.component.ts index eac9604e..3d9ab2bf 100644 --- a/src/app/components/login/login.component.ts +++ b/src/app/components/login/login.component.ts @@ -116,7 +116,7 @@ export class LoginComponent implements OnInit, DoCheck { } ngDoCheck() { - if (this.loginForm.get('username').valid || this.loginForm.get('password').valid) { + if (this.loginForm.get('username').valid && this.loginForm.get('password').valid) { this.isRememberMe = true; } }