Browse Source

Fix always logging out instead of lock (#444)

pull/2722/head^2
Thomas Rittson 4 years ago committed by GitHub
parent
commit
b962af303a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/program.ts

2
src/program.ts

@ -194,7 +194,7 @@ export class Program extends BaseProgram { @@ -194,7 +194,7 @@ export class Program extends BaseProgram {
.action(async (cmd) => {
await this.exitIfNotAuthed();
if (this.main.keyConnectorService.getUsesKeyConnector()) {
if (await this.main.keyConnectorService.getUsesKeyConnector()) {
const logoutCommand = new LogoutCommand(
this.main.authService,
this.main.i18nService,

Loading…
Cancel
Save