1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 04:33:38 +00:00

Typechecking fix.

This commit is contained in:
Todd Martin
2026-01-11 16:48:43 -05:00
parent 992c7f9695
commit 80e38d6bbc

View File

@@ -315,6 +315,8 @@ export class SetInitialPasswordComponent implements OnInit {
});
if (confirmed) {
const ctx = "Cannot log out a user without a userId.";
assertTruthy(this.userId, "userId", ctx);
await this.logoutService.logout(this.userId, "userInitiated");
}
}