Show error on wrong security key
This commit is contained in:
parent
ba084c0a10
commit
8c227843c9
1 changed files with 1 additions and 1 deletions
|
@ -24,11 +24,11 @@ function SecretStorageAccess({ onComplete }) {
|
|||
const [process, setProcess] = useState(false);
|
||||
const [error, setError] = useState(null);
|
||||
const mountStore = useStore();
|
||||
mountStore.setItem(true);
|
||||
|
||||
const toggleWithPhrase = () => setWithPhrase(!withPhrase);
|
||||
|
||||
const processInput = async ({ key, phrase }) => {
|
||||
mountStore.setItem(true);
|
||||
setProcess(true);
|
||||
try {
|
||||
const { salt, iterations } = sSKeyInfo.passphrase || {};
|
||||
|
|
Loading…
Reference in a new issue