Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39626de073 |
+1
-1
@@ -311,7 +311,7 @@ export class SimApiCore {
|
|||||||
|
|
||||||
async logout(url?: string | null): Promise<any> {
|
async logout(url?: string | null): Promise<any> {
|
||||||
if (url !== null) {
|
if (url !== null) {
|
||||||
return this.query(url ?? this.auth.logout_url).catch(() => true)
|
this.query(url ?? this.auth.logout_url).catch(() => true)
|
||||||
}
|
}
|
||||||
this.removeToken()
|
this.removeToken()
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user