changePassword.php (1364B)
1 <div class="container"> 2 <h1>LoginController/changePassword</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 <!-- new password form box --> 11 <form method="post" action="<?php echo Config::get('URL'); ?>/login/changePassword_action" name="new_password_form"> 12 <label for="change_input_password_current">Enter Current Password:</label> 13 <p><input id="change_input_password_current" class="reset_input" type='password' 14 name='user_password_current' pattern=".{6,}" required autocomplete="off" /></p> 15 <label for="change_input_password_new">New password (min. 6 characters)</label> 16 <p><input id="change_input_password_new" class="reset_input" type="password" 17 name="user_password_new" pattern=".{6,}" required autocomplete="off" /></p> 18 <label for="change_input_password_repeat">Repeat new password</label> 19 <p><input id="change_input_password_repeat" class="reset_input" type="password" 20 name="user_password_repeat" pattern=".{6,}" required autocomplete="off" /></p> 21 <input type="submit" name="submit_new_password" value="Submit new password" /> 22 </form> 23 24 </div> 25 </div>