mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
27 lines
1.4 KiB
PHP
27 lines
1.4 KiB
PHP
<div class="container">
|
|
<h1>LoginController/changePassword</h1>
|
|
|
|
<!-- echo out the system feedback (error and success messages) -->
|
|
<?php $this->renderFeedbackMessages(); ?>
|
|
|
|
<div class="box">
|
|
<h2>Set new password</h2>
|
|
|
|
<p>FYI: ... Idenfitication process works via password-reset-token (hidden input field)</p>
|
|
|
|
<!-- new password form box -->
|
|
<form method="post" action="<?php echo Config::get('URL'); ?>login/setNewPassword" name="new_password_form">
|
|
<input type='hidden' name='user_name' value='<?php echo $this->user_name; ?>' />
|
|
<input type='hidden' name='user_password_reset_hash' value='<?php echo $this->user_password_reset_hash; ?>' />
|
|
<label for="reset_input_password_new">New password (min. 6 characters)</label>
|
|
<input id="reset_input_password_new" class="reset_input" type="password"
|
|
name="user_password_new" pattern=".{6,}" required autocomplete="off" />
|
|
<label for="reset_input_password_repeat">Repeat new password</label>
|
|
<input id="reset_input_password_repeat" class="reset_input" type="password"
|
|
name="user_password_repeat" pattern=".{6,}" required autocomplete="off" />
|
|
<input type="submit" name="submit_new_password" value="Submit new password" />
|
|
</form>
|
|
|
|
<a href="<?php echo Config::get('URL'); ?>login/index">Back to Login Page</a>
|
|
</div>
|
|
</div>
|