fix: signout even when api
is not available
This commit is contained in:
parent
c75dc80f82
commit
88f1cedcdc
@ -104,9 +104,11 @@ export class Authentication {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async signoutServerSide(): Promise<void> {
|
public async signoutServerSide(): Promise<void> {
|
||||||
await this.api.post('/users/signout', {
|
try {
|
||||||
refreshToken: this.tokens.refreshToken
|
await this.api.post('/users/signout', {
|
||||||
})
|
refreshToken: this.tokens.refreshToken
|
||||||
|
})
|
||||||
|
} catch {}
|
||||||
this.signout()
|
this.signout()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user