resetPassword.php (1460B)
1 <div class="container"> 2 <h1>LoginController/resetPassword</h1> 3 4 <!-- echo out the system feedback (error and success messages) --> 5 <?php $this->renderFeedbackMessages(); ?> 6 7 <div class="box"> 8 <h2>Set new password</h2> 9 10 <p>FYI: ... Idenfitication process works via password-reset-token (hidden input field)</p> 11 12 <!-- new password form box --> 13 <form method="post" action="<?php echo Config::get('URL'); ?>/login/setNewPassword" name="new_password_form"> 14 <input type='hidden' name='user_name' value='<?php echo $this->user_name; ?>' /> 15 <input type='hidden' name='user_password_reset_hash' value='<?php echo $this->user_password_reset_hash; ?>' /> 16 <label for="reset_input_password_new">New password (min. 6 characters)</label> 17 <input id="reset_input_password_new" class="reset_input" type="password" 18 name="user_password_new" pattern=".{6,}" required autocomplete="off" /> 19 <label for="reset_input_password_repeat">Repeat new password</label> 20 <input id="reset_input_password_repeat" class="reset_input" type="password" 21 name="user_password_repeat" pattern=".{6,}" required autocomplete="off" /> 22 <input type="submit" name="submit_new_password" value="Submit new password" /> 23 </form> 24 25 <a href="<?php echo Config::get('URL'); ?>/login/index">Back to Login Page</a> 26 </div> 27 </div>