mirror of
https://github.com/lukin/keywind.git
synced 2025-01-09 09:26:24 +00:00
fix: update username validation
This commit is contained in:
parent
155bc47df1
commit
dce13679e7
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
autofocus=true
|
autofocus=true
|
||||||
invalid=["username"]
|
invalid=["username"]
|
||||||
name="username"
|
name="username"
|
||||||
type=realm.loginWithEmailAllowed?string("email", "text")
|
type="text"
|
||||||
value=(auth?has_content && auth.showUsername())?then(auth.attemptedUsername, '')
|
value=(auth?has_content && auth.showUsername())?then(auth.attemptedUsername, '')
|
||||||
>
|
>
|
||||||
<@labelUsername.kw />
|
<@labelUsername.kw />
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
disabled=usernameEditDisabled??
|
disabled=usernameEditDisabled??
|
||||||
invalid=["username", "password"]
|
invalid=["username", "password"]
|
||||||
name="username"
|
name="username"
|
||||||
type=realm.loginWithEmailAllowed?string("email", "text")
|
type="text"
|
||||||
value=(login.username)!''
|
value=(login.username)!''
|
||||||
>
|
>
|
||||||
<@labelUsername.kw />
|
<@labelUsername.kw />
|
||||||
|
|
Loading…
Reference in a new issue