TT#174850 Trim leading, tailing whitespaces from login username

Note: I've also triming spaces for password, because it can be also copy-pased from somewhere.

Change-Id: I84a8f604f115909ef7fe51f98609a27851ce3faf
pull/12/head
Sergii Leonenko 3 years ago
parent 0c394bec97
commit 9da0c00285

@ -31,7 +31,7 @@
<q-card-section>
<form>
<csc-input
v-model="username"
v-model.trim="username"
class="q-mb-sm"
type="text"
max-length="128"
@ -42,7 +42,7 @@
@keyup.enter="login()"
>
<template
slot="prepend"
v-slot:prepend
>
<q-icon
name="person"
@ -50,7 +50,7 @@
</template>
</csc-input>
<csc-input-password
v-model="password"
v-model.trim="password"
max-length="32"
:label="$t('Password')"
:disable="loginRequesting"

Loading…
Cancel
Save