feat(login by email option): added ability to log in with user primary email. Fixes: RCCE-63
This commit is contained in:
parent
5f36eb1b22
commit
d8281bb5c0
7 changed files with 28 additions and 14 deletions
|
|
@ -35,12 +35,12 @@
|
|||
<%block name="above_login_button" />
|
||||
<!-- login -->
|
||||
<div class="sign-in-title">
|
||||
<h1>${_('Sign In using username/password')}</h1>
|
||||
<h1>${_('Sign In using credentials')}</h1>
|
||||
</div>
|
||||
<div class="inner form">
|
||||
${h.form(request.route_path('login', _query={'came_from': c.came_from}), needs_csrf_token=False)}
|
||||
|
||||
<label for="username">${_('Username')}:</label>
|
||||
<label for="username">${_('Username or email address')}:</label>
|
||||
${h.text('username', class_='focus', value=defaults.get('username'))}
|
||||
%if 'username' in errors:
|
||||
<span class="error-message">${errors.get('username')}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue