Update password_reset.html

Without this attribute it is impossible to pass the lesson "password-reset" `Email functionality with WebWolf`.
This commit is contained in:
donkrasnov 2018-08-30 12:20:55 +03:00 committed by Nanne Baars
parent 0797c3e2bf
commit a2f28460c0

View File

@ -9,7 +9,7 @@
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-2 col-md-offset-3">
<form role="form" method="POST" action="/WebGoat/PasswordReset/reset/change-password" th:object="${form}">
<form role="form" method="POST" action="/WebGoat/PasswordReset/reset/change-password" th:object="${form}" novalidate="novalidate">
<h2 class="sign_up_title">Reset your password</h2>
<div class="form-group" th:classappend="${#fields.hasErrors('password')}? 'has-error'">
<input type="hidden" name="resetLink" th:field="*{resetLink}" />
@ -29,4 +29,4 @@
</div>
</body>
</html>
</html>