feat: add clearLoginKey function

This commit is contained in:
Derrick Hammer 2023-08-04 11:28:03 -04:00
parent b1fa47d1e6
commit d6133c5670
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -45,3 +45,6 @@ export async function setLoginKey(key: Uint8Array) {
nonce: bytesToHex(nonce), nonce: bytesToHex(nonce),
}); });
} }
export async function clearLoginKey() {
return setLoginKey(new Uint8Array());
}