summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-30 12:57:59 +0000
committerAndrew Tridgell <tridge@samba.org>2005-05-30 12:57:59 +0000
commitc3fa3fd38d15a1f24bfb832ae35ca9564a88cdeb (patch)
treeed0cb1aa21c8b7c28698c26b658b0c03918c1bdb
parentcf220efc39b5f2bb14797b53ae2300c3e6ca70b2 (diff)
downloadsamba-c3fa3fd38d15a1f24bfb832ae35ca9564a88cdeb.tar.gz
samba-c3fa3fd38d15a1f24bfb832ae35ca9564a88cdeb.tar.xz
samba-c3fa3fd38d15a1f24bfb832ae35ca9564a88cdeb.zip
r7108: display a session expired message
-rw-r--r--swat/login.esp5
1 files changed, 5 insertions, 0 deletions
diff --git a/swat/login.esp b/swat/login.esp
index 9b41e2d54e9..fba1c544dcd 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'];