mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-10-30 22:09:52 +01:00 
			
		
		
		
	Remind that the username is the email address
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		| @@ -18,9 +18,14 @@ SPDX-License-Identifier: GPL-2.0-or-later | ||||
|     {% endif %} | ||||
|     <form method="post" id="login-form"> | ||||
|         <div id="form-content"> | ||||
|             {{ form|as_crispy_errors }} | ||||
|             {% csrf_token %} | ||||
|             {{ form | crispy }} | ||||
|             <a href="{% url 'password_reset' %}" class="badge text-bg-warning">{% trans 'Forgotten your password or username?' %}</a> | ||||
|             {{ form.username|as_crispy_field }} | ||||
|             <div class="form-text mb-3"> | ||||
|                 <i class="fas fa-info-circle"></i> {% trans "Your username is your e-mail address." %} | ||||
|             </div> | ||||
|             {{ form.password|as_crispy_field }} | ||||
|             <a href="{% url 'password_reset' %}" class="badge text-bg-warning">{% trans 'Forgotten your password?' %}</a> | ||||
|         </div> | ||||
|         <input type="submit" value="{% trans 'Log in' %}" class="btn btn-primary"> | ||||
|     </form> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user