auth page: remove useless hint, use better icon for "Use magic link" button

This commit is contained in:
Alice Gaudon 2021-11-09 19:22:52 +01:00
parent c29024bb23
commit 5336940dc3
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
{#if !loginUsingMagicLink}
<Field type="password" name="password" placeholder="Your password" icon="key" required/>
<button on:click={() => loginUsingMagicLink=true} type="button"><Icon name="link"/> Use magic link</button>
<button on:click={() => loginUsingMagicLink=true} type="button"><Icon name="mail"/> Use magic link</button>
{:else}
<button on:click={() => loginUsingMagicLink=false} type="button"><Icon name="key"/> Use password</button>
{/if}
@ -48,7 +48,7 @@
{#if $locals.has_username}
<Field type="text" name={registerUsingMagicLink ? 'name' : 'identifier'} icon="user"
placeholder="Choose your username" hint="This cannot be changed later."
placeholder="Choose your username"
pattern="[0-9a-z_-]+" required/>
{/if}