mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-30 09:48:53 +00:00
update user case 2
This commit is contained in:
parent
eb07abe786
commit
07c505187d
@ -63,6 +63,8 @@ export class LoginComponent implements OnInit, DoCheck {
|
||||
|
||||
let getCurrentUser = JSON.parse(localStorage.getItem(`isRememberMe`)) ?? null;
|
||||
if (getCurrentUser && getCurrentUser.isRememberMe) {
|
||||
this.loginForm.get('username').setValue(getCurrentUser.username);
|
||||
this.loginForm.get('password').setValue(getCurrentUser.password);
|
||||
this.isRememberMeCheked = getCurrentUser.isRememberMe;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user