This commit is contained in:
Rajnikant 2022-05-31 14:12:18 +05:30
parent 07c505187d
commit 18a014d739

View File

@ -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;
}
}