bug fixed
This commit is contained in:
parent
0f407021c7
commit
01fa50b480
|
@ -93,6 +93,19 @@ export class LoginSectionComponent implements OnInit, OnDestroy {
|
||||||
.subscribe((param) => {
|
.subscribe((param) => {
|
||||||
this.loginTry = param.value as LoginTry;
|
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 {
|
ngOnDestroy(): void {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user