mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
fix: trim trailling spaces in username
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
:disabled="show2faInput || loggingInByPassword || loggingInByOAuth2 || verifying"
|
:disabled="show2faInput || loggingInByPassword || loggingInByOAuth2 || verifying"
|
||||||
:label="tt('Username')"
|
:label="tt('Username')"
|
||||||
:placeholder="tt('Your username or email')"
|
:placeholder="tt('Your username or email')"
|
||||||
v-model="username"
|
v-model.trim="username"
|
||||||
@input="tempToken = ''"
|
@input="tempToken = ''"
|
||||||
@keyup.enter="passwordInput?.focus()"
|
@keyup.enter="passwordInput?.focus()"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:disabled="loggingInByPassword || loggingInByOAuth2"
|
:disabled="loggingInByPassword || loggingInByOAuth2"
|
||||||
:label="tt('Username')"
|
:label="tt('Username')"
|
||||||
:placeholder="tt('Your username or email')"
|
:placeholder="tt('Your username or email')"
|
||||||
v-model:value="username"
|
v-model:value.trim="username"
|
||||||
@input="tempToken = ''"
|
@input="tempToken = ''"
|
||||||
></f7-list-input>
|
></f7-list-input>
|
||||||
<f7-list-input
|
<f7-list-input
|
||||||
|
|||||||
Reference in New Issue
Block a user