Fix login or register not working when pressing enter

This commit is contained in:
kolaente 2021-01-26 20:25:39 +01:00
parent 63726ed59f
commit c041eab7a2
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 15 additions and 4 deletions

View file

@ -19,6 +19,7 @@
type="text"
autocomplete="username"
v-focus
@keyup.enter="submit"
/>
</div>
</div>
@ -34,6 +35,7 @@
required
type="password"
autocomplete="current-password"
@keyup.enter="submit"
/>
</div>
</div>
@ -48,6 +50,7 @@
required
type="text"
v-focus
@keyup.enter="submit"
/>
</div>
</div>