forked from DGNum/gestiojeux
c836f642fa
This avoid the weird double username situation where we want to give the users the choice of their displayed name but at the same time we need them to never change their CAS username. Now CAS matches on email so we do not have problems.
20 lines
453 B
HTML
20 lines
453 B
HTML
{% extends "small_page.html" %}
|
|
|
|
{% block "content" %}
|
|
<h1>Paramètres du compte</h1>
|
|
|
|
<p>Vous êtes connecté en tant que <tt>{{ request.user.email }}</tt></p>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button type="submit">Enregistrer</button>
|
|
</form>
|
|
|
|
{% if request.user.password and request.user.has_usable_password %}
|
|
<hr/>
|
|
|
|
<a href="{% url "accounts:change_password" %}">Changer mon mot de passe</a>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|