mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 04:33:38 +00:00
Typechecking fix.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user