mirror of
https://github.com/mempool/mempool.git
synced 2026-08-19 13:18:06 +02:00
Merge pull request #5891 from mempool/nymkappa/auth-disabled-user
[auth] better handling of 'disabled' users
This commit is contained in:
commit
2ec7977397
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export class ServicesApiServices {
|
|||
this.userSubject$.next(user);
|
||||
}),
|
||||
catchError((e) => {
|
||||
if (e.error === 'User does not exists') {
|
||||
if (e.error === 'invalid_user') {
|
||||
this.userSubject$.next(null);
|
||||
this.logout$().subscribe();
|
||||
return of(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue