summaryrefslogtreecommitdiff
path: root/swat/login.esp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-30 12:57:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:17 -0500
commita0986dd424f2d50b2645f19f5b43512b517daca3 (patch)
treea778bade0b27e48244cddb1aa16583b3bf2bb9b4 /swat/login.esp
parent43bc09e2aa609d5ffc978aae18c956a24bcb6a20 (diff)
downloadsamba-a0986dd424f2d50b2645f19f5b43512b517daca3.tar.gz
samba-a0986dd424f2d50b2645f19f5b43512b517daca3.tar.bz2
samba-a0986dd424f2d50b2645f19f5b43512b517daca3.zip
r7108: display a session expired message
(This used to be commit 3f87d53d6614b514f1725b09e9964629b91dbbcc)
Diffstat (limited to 'swat/login.esp')
-rw-r--r--swat/login.esp5
1 files changed, 5 insertions, 0 deletions
diff --git a/swat/login.esp b/swat/login.esp
index 9b41e2d54e..fba1c544dc 100644
--- a/swat/login.esp
+++ b/swat/login.esp
@@ -1,6 +1,11 @@
<% page_header("plain", "SWAT Login"); %>
<%
+
+if (request['SESSION_EXPIRED'] == "True") {
+ write("<b>Your session has expired - please authenticate again<br>\n");
+}
+
var f = Form("login", 2, 1);
f.element[0].label = "Username";
f.element[0].value = form['Username'];