Don't delete sessions for now
This commit is contained in:
@@ -361,14 +361,14 @@ export class SessionModel {
|
|||||||
* Close all sessions across all accounts.
|
* Close all sessions across all accounts.
|
||||||
*/
|
*/
|
||||||
async logout() {
|
async logout() {
|
||||||
if (this.hasSession) {
|
/*if (this.hasSession) {
|
||||||
this.rootStore.api.com.atproto.session.delete().catch((e: any) => {
|
this.rootStore.api.com.atproto.session.delete().catch((e: any) => {
|
||||||
this.rootStore.log.warn(
|
this.rootStore.log.warn(
|
||||||
'(Minor issue) Failed to delete session on the server',
|
'(Minor issue) Failed to delete session on the server',
|
||||||
e,
|
e,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}*/
|
||||||
this.clearSessionTokensFromAccounts()
|
this.clearSessionTokensFromAccounts()
|
||||||
this.rootStore.clearAll()
|
this.rootStore.clearAll()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user