Last change
on this file since 157 was 125, checked in by Kris Deugau, 13 years ago |
/trunk
Fix some expired-session weirdness by forcing a fresh login
Add a "Session expired" error fragment on the login page
|
File size:
883 bytes
|
Line | |
---|
1 | <form method="post" action="dns.cgi">
|
---|
2 | <fieldset>
|
---|
3 | <input type="hidden" name="action" value="login" />
|
---|
4 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
5 | <input type="hidden" name="page" value="login" />
|
---|
6 |
|
---|
7 | <table id="login">
|
---|
8 | <TMPL_IF loginfailed><tr><td colspan="2" class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF>
|
---|
9 | <TMPL_IF sessexpired><tr><td colspan="2" class="errmsg" align="center">Your session has expired</td></tr></TMPL_IF>
|
---|
10 | <tr><td colspan="2" class="title" align="center">Please log in:</td></tr>
|
---|
11 | <tr><td class="inputlabel">Username:</td><td><input type="text" name="username" /></td></tr>
|
---|
12 | <tr><td class="inputlabel">Password:</td><td><input type="password" name="password" /></td></tr>
|
---|
13 | <tr><td colspan="2" class="tblsubmit" align="right"><input type="submit" value="Login" /></td></tr>
|
---|
14 | </table>
|
---|
15 |
|
---|
16 | </fieldset>
|
---|
17 | </form>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.