update userProfil & logout
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<div id="container-main">
|
||||
<h1>Mon profil</h1>
|
||||
<form th:action="@{/inscription/newUser}" method="post" th:object="${userProfile}">
|
||||
<form th:action="@{/profil/updateUser}" method="post" th:object="${userProfile}">
|
||||
<!--<div class="erreur-saisie" th:if="${#fields.hasErrors('*')}" >
|
||||
<p th:text="#{index.erreurs}">Message d'erreur</p>
|
||||
</div>-->
|
||||
@@ -136,7 +136,7 @@
|
||||
<div class="champ-saisie">
|
||||
<label for="confirmPassword">Confirmation du nouveau mot de passe: </label>
|
||||
<div>
|
||||
<input type="password" th:field="*{confirmPassword}" id="confirmPassword" />
|
||||
<input type="password" th:field="*{confirmPassword}" name="confirmPassword" id="confirmPassword" />
|
||||
</div>
|
||||
<span style="color: red;" th:if="${#fields.hasErrors('confirmPassword')}">
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user