mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Remove legacy key support in vault code (#15348)
This commit is contained in:
@@ -180,7 +180,7 @@ export class CreateCommand {
|
||||
|
||||
private async createFolder(req: FolderExport) {
|
||||
const activeUserId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
|
||||
const userKey = await this.keyService.getUserKeyWithLegacySupport(activeUserId);
|
||||
const userKey = await this.keyService.getUserKey(activeUserId);
|
||||
const folder = await this.folderService.encrypt(FolderExport.toView(req), userKey);
|
||||
try {
|
||||
await this.folderApiService.save(folder, activeUserId);
|
||||
|
||||
Reference in New Issue
Block a user