mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-authentication): CB-493 authentication behavior
This commit is contained in:
@@ -77,9 +77,9 @@ export class AuthenticationService extends Bootstrap {
|
||||
}
|
||||
|
||||
register(): void {
|
||||
this.appAuthService.auth.addPostHandler(async state => {
|
||||
this.appAuthService.auth.addPostHandler(state => {
|
||||
if (!state) {
|
||||
await this.requireAuthentication();
|
||||
this.requireAuthentication();
|
||||
}
|
||||
});
|
||||
this.appScreenService.activation.addHandler(() => this.requireAuthentication());
|
||||
|
||||
Reference in New Issue
Block a user