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> {
|
||||
try {
|
||||
await this.api.post('/users/signout', {
|
||||
refreshToken: this.tokens.refreshToken
|
||||
})
|
||||
} catch {}
|
||||
this.signout()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user