Skip to content

Commit

Permalink
Update password_reset.html
Browse files Browse the repository at this point in the history
Without this attribute it is impossible to pass the lesson "password-reset" `Email functionality with WebWolf`.
  • Loading branch information
donkrasnov authored and nbaars committed Nov 19, 2018
1 parent 0797c3e commit a2f2846
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}" />
Expand All @@ -29,4 +29,4 @@ <h2 class="sign_up_title">Reset your password</h2>
</div>
</body>

</html>
</html>

0 comments on commit a2f2846

Please sign in to comment.