1294.1.5
by William Grant
Add a view for admins to reset other users' passwords. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:py="http://genshi.edgewall.org/"> |
|
3 |
<head>
|
|
4 |
<title>Reset password - ${user.nick}</title> |
|
5 |
</head> |
|
6 |
<body>
|
|
7 |
<h1>Reset password for ${user.nick}</h1> |
|
8 |
<div id="ivle_padding"> |
|
9 |
<p>
|
|
10 |
This page lets administrators reset any user's password, without |
|
11 |
knowledge of that password. Be very careful. |
|
12 |
</p> |
|
13 |
<p py:if="not user.passhash"> |
|
14 |
<strong>Warning:</strong> This user currently has no IVLE password |
|
15 |
set. This probably means that their password is checked against |
|
16 |
another password database. Setting a new one will override any |
|
17 |
external database. |
|
18 |
</p> |
|
1294.1.10
by William Grant
Switch to CSS form layout for the user edit views. |
19 |
<form class="verticalform" action="" method="post"> |
20 |
<div>
|
|
21 |
<label for="field_new_password">New password:</label> |
|
22 |
<input type="password" name="new_password" id="field_new_password" size="40" /> |
|
23 |
</div> |
|
24 |
<div>
|
|
25 |
<label for="field_new_password_again">New password (again):</label> |
|
26 |
<input type="password" name="new_password_again" id="field_new_password_again" size="40" /> |
|
27 |
</div> |
|
28 |
||
1456
by William Grant
Apply the form_error class to password change/reset errors. |
29 |
<p class="form_error" py:if="error" py:content="error" /> |
1294.1.5
by William Grant
Add a view for admins to reset other users' passwords. |
30 |
<p><input type="submit" value="Reset password" /></p> |
31 |
</form> |
|
32 |
</div> |
|
33 |
</body> |
|
34 |
</html> |