feat: add clearLoginKey function
This commit is contained in:
parent
b1fa47d1e6
commit
d6133c5670
|
@ -45,3 +45,6 @@ export async function setLoginKey(key: Uint8Array) {
|
||||||
nonce: bytesToHex(nonce),
|
nonce: bytesToHex(nonce),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
export async function clearLoginKey() {
|
||||||
|
return setLoginKey(new Uint8Array());
|
||||||
|
}
|
||||||
|
|
Reference in New Issue