mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
[auth] remove auto logout when imageMd5 no in localstorage
This commit is contained in:
parent
bbd1f088d1
commit
7ae4b451e4
1 changed files with 0 additions and 4 deletions
|
@ -30,10 +30,6 @@ export class MenuComponent implements OnInit, OnDestroy {
|
|||
|
||||
ngOnInit(): void {
|
||||
this.userAuth = this.storageService.getAuth();
|
||||
if (this.userAuth && this.userAuth.user && !this.userAuth.user.imageMd5) {
|
||||
this.logout();
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.stateService.env.GIT_COMMIT_HASH_MEMPOOL_SPACE) {
|
||||
this.userMenuGroups$ = this.apiService.getUserMenuGroups$();
|
||||
|
|
Loading…
Add table
Reference in a new issue