Project

General

Profile

1 2342 sgarg
    <h2>Change your KNB Password</h2>
2
    <p>Fill out the form below to change your KNB password.
3
    You will need to know your username, your old password, and choose
4
    a new password (which is entered twice for confirmation).
5
    <a href="@cgiurl@?stage=resetpass&cfg=[% cfg %]">Forgot your password?</a>
6
    </p>
7
    <p>Required fields are shown in red.</p>
8
    <p class="emphasis">[% errorMessage %]<p>
9
    <p>
10
    <form name="passwdForm" action="@cgiurl@" method="post">
11
      <input type="hidden" name="stage" value="[% stage %]"/>
12
      <input type="hidden" name="cfg" value="[% cfg %]"/>
13
      <table border="0">
14
        <tr>
15
          <td align="left" class="required">
16
            Username:
17
          </td>
18
          <td align="right">
19
            <input name="uid" type="text"
20
                   [% IF allParams.uid %]
21
                   value="[% allParams.uid %]"
22
                   [% END %]/>
23
          </td>
24
        </tr>
25
        <tr>
26
          <td align="left" class="required">
27
            Organization:
28
          </td>
29
          <td align="right">
30
            <select name="o">
31
              [% FOREACH org = orgList %]
32
		[% IF allParams.o == org %]
33
                  <option value="[% org %]" selected>[% org %]</option>
34
                [% ELSE %]
35
                  <option value="[% org %]">[% org %]</option>
36
                [% END %]
37
              [% END %]
38
            </select>
39
          </td>
40
        </tr>
41
        <tr>
42
          <td align="left" class="required">
43
            Old password:
44
          </td>
45
          <td align="right">
46
            <input name="oldpass" type="password" />
47
          </td>
48
        </tr>
49
        <tr>
50
          <td align="left" class="required">
51
            New password:
52
          </td>
53
          <td align="right">
54
            <input name="userPassword" type="password" />
55
          </td>
56
        </tr>
57
        <tr>
58
          <td align="left" class="required">
59
            Confirm new password:
60
          </td>
61
          <td align="right">
62
            <input name="userPassword2" type="password" />
63
          </td>
64
        </tr>
65
        <tr>
66
          <td>
67
          </td>
68
          <td align="right">
69
            <input name="action" type="submit" value="Change password"/>
70
          </td>
71
        </tr>
72
      </table>
73
    </form>
74
    </p>