web: various fixes

This commit is contained in:
Abdullah Atta
2024-02-07 13:38:43 +05:00
parent a45c5db34e
commit bfe9aa5330
10 changed files with 31 additions and 28 deletions

View File

@@ -56,7 +56,7 @@ export class NNStorage implements IStorage {
const user = await this.read<User>("user");
if (!user) return;
const key = await this._getCryptoKey(user.email);
const key = await this._getCryptoKey(`_uk_@${user.email}`);
if (!key) return;
await this.database.deleteMany([