mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-30 10:47:08 -06:00
1eab43d292
This patch adds separate reset password page. It is a complement to separate login page. It differentiate from reset password capabilities in Web UI's anauthorized dialog by not performing login. This is useful for users who wants only to reset the password and not to use Web UI. And also for users who are using the separate login page. https://fedorahosted.org/freeipa/ticket/2755
67 lines
2.2 KiB
HTML
67 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>IPA: Identity Policy Audit</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="ipa.css" />
|
|
|
|
<script type="text/javascript" src="json2.js"></script>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="reset_password.js"></script>
|
|
</head>
|
|
|
|
<body class="info-page login-page">
|
|
|
|
<div class="container_1">
|
|
|
|
<div class="header-logo">
|
|
<img src="images/ipa-logo.png" /><img src="images/ipa-banner.png" />
|
|
</div>
|
|
|
|
<div id="formwindow">
|
|
<h2>Reset password</h2>
|
|
|
|
<div id="invalid" class="error-box" style="display:none">
|
|
<p id="error-msg"></p>
|
|
</div>
|
|
|
|
<div id="success" class="success-box" style="display:none">
|
|
<p>Password reset was successful.
|
|
<a id="login-link" href="login.html">Return to login page.</a></p>
|
|
</div>
|
|
|
|
<form id="login">
|
|
<ul>
|
|
<li>
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" accesskey="u" />
|
|
</li>
|
|
<li>
|
|
<label for="password">Current Password:</label>
|
|
<input type="password" id="password" name="password" accesskey="p" />
|
|
</li>
|
|
<li>
|
|
<label for="new_password">New Password:</label>
|
|
<input type="password" id="new_password" name="new_password" accesskey="n" />
|
|
</li>
|
|
<li>
|
|
<label for="verify_password">Verify Password:</label>
|
|
<input type="password" id="verify_password" name="verify_password" accesskey="v" />
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="formbutton">
|
|
<input name="submit" value="Reset" type="submit" />
|
|
</div>
|
|
</form>
|
|
<div style="display:none" class="form-box" id="reset_pwd_link">
|
|
<p><a href="#">Reset password again</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|