mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +08:00
Fix bug cleaning state in logout
This commit is contained in:
parent
8e2acae379
commit
ab54fe6682
@ -373,7 +373,6 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
logout() {
|
||||
this.pane = 'left';
|
||||
this.username = null;
|
||||
this.party = null;
|
||||
this.player = new Player();
|
||||
sessionStorage.removeItem('username');
|
||||
sessionStorage.removeItem('userId');
|
||||
|
Loading…
Reference in New Issue
Block a user