delete account ui functionality

This commit is contained in:
2023-05-28 23:29:42 +02:00
parent 06bfd4cd9e
commit 21222abad4
2 changed files with 7 additions and 0 deletions

View File

@@ -147,3 +147,8 @@ export const enableEncryption = async (passphrase: string) => {
setClientKey(passphrase)
syncNotesToFirebase(baseNotes.value)
}
export const clearEncryptionKeys = () => {
encryptionKey.value = undefined
encryptedEncryptionKey.value = undefined
}