delete account ui functionality
This commit is contained in:
@@ -147,3 +147,8 @@ export const enableEncryption = async (passphrase: string) => {
|
||||
setClientKey(passphrase)
|
||||
syncNotesToFirebase(baseNotes.value)
|
||||
}
|
||||
|
||||
export const clearEncryptionKeys = () => {
|
||||
encryptionKey.value = undefined
|
||||
encryptedEncryptionKey.value = undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user