diff --git a/src/app/sections/account/components/login.section.component.ts b/src/app/sections/account/components/login.section.component.ts index 10da32b..ebcc015 100644 --- a/src/app/sections/account/components/login.section.component.ts +++ b/src/app/sections/account/components/login.section.component.ts @@ -93,6 +93,19 @@ export class LoginSectionComponent implements OnInit, OnDestroy { .subscribe((param) => { this.loginTry = param.value as LoginTry; }); + + if (!!this.userStore && this.userStore.rememberMe) { + this.chkUseRememberMe.checked = true; + } + + if ( + !!this.userStore && + !!this.userStore.settings && + !!this.userStore.settings.general && + this.userStore.settings.general.autoLogin + ) { + this.chkUseAutoLogin.checked = true; + } } ngOnDestroy(): void {