diff --git a/shared/keys.ts b/shared/keys.ts index 2cea3ac..5f4a07e 100644 --- a/shared/keys.ts +++ b/shared/keys.ts @@ -45,3 +45,6 @@ export async function setLoginKey(key: Uint8Array) { nonce: bytesToHex(nonce), }); } +export async function clearLoginKey() { + return setLoginKey(new Uint8Array()); +}