move re-hide to main request handler

This commit is contained in:
Joseph Montanaro
2022-12-21 16:04:12 -08:00
parent 5ffa55c03c
commit bf4c46238e
6 changed files with 51 additions and 33 deletions

View File

@ -30,6 +30,7 @@
{#if error}
<div class="text-red-400">{error}</div>
{/if}
<form action="#" on:submit|preventDefault="{unlock}">
<div class="text-gray-200">Enter your passphrase:</div>
<input autofocus class="text-gray-200 bg-zinc-800" type="password" placeholder="correct horse battery staple" bind:value="{passphrase}" />