forked from enviPath/enviPy
[Fix] Login via email, prevent Usernames with certain chars
This commit is contained in:
@ -82,13 +82,13 @@
|
||||
|
||||
<div class="form-control">
|
||||
<label class="label" for="username">
|
||||
<span class="label-text">Username</span>
|
||||
<span class="label-text">Account</span>
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="username"
|
||||
name="username"
|
||||
placeholder="username"
|
||||
placeholder="Username or Email"
|
||||
class="input input-bordered w-full"
|
||||
required
|
||||
autocomplete="username"
|
||||
@ -164,6 +164,8 @@
|
||||
name="username"
|
||||
placeholder="username"
|
||||
class="input input-bordered w-full"
|
||||
pattern="^[A-Za-z0-9@.+_\-]{3,150}$"
|
||||
title="Only letters, numbers, and @ . + - _ are allowed"
|
||||
required
|
||||
autocomplete="username"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user