Skip to content
Snippets Groups Projects
Verified Commit 0ed3f683 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Allow login with email or username

parent a14e0acb
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ AUTHENTICATION_BACKENDS = (
)
# Some really nice defaults
ACCOUNT_AUTHENTICATION_METHOD = 'username'
ACCOUNT_AUTHENTICATION_METHOD = 'username_email'
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
......
......@@ -12,13 +12,13 @@
</ul>
</div>
<div class="field">
<label>Username</label>
<label>Username or email</label>
<input
ref="username"
required
type="text"
autofocus
placeholder="Enter your username"
placeholder="Enter your username or email"
v-model="credentials.username"
>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment