mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
dbeaver/pro#7397 feat: reload after session expire (#4043)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
This commit is contained in:
co-authored by
Daria Marutkina
parent
1c56d55462
commit
244479cd06
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* CloudBeaver - Cloud Database Manager
|
||||
* Copyright (C) 2020-2025 DBeaver Corp and others
|
||||
* Copyright (C) 2020-2026 DBeaver Corp and others
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0.
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -46,6 +46,7 @@ export class SessionExpireService extends Bootstrap {
|
||||
this.graphQLService.blockRequests(e);
|
||||
this.isExpired = true;
|
||||
this.onSessionExpire.execute();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
private async sessionExpiredInterceptor(request: Promise<any>): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user