[auth] remove auto logout when imageMd5 no in localstorage

This commit is contained in:
nymkappa 2023-08-29 09:31:18 +02:00
parent bbd1f088d1
commit 7ae4b451e4
No known key found for this signature in database
GPG key ID: E155910B16E8BD04

View file

@ -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$();