summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html10
-rw-r--r--templates/view.html9
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..daa6893
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Front page</title>
+</head>
+<body>
+Welcome to this sample application! To access protected pages you need to <a href="/login/">log in</a>. Accepted methods are kerberos and ldap.
+
+{{ session }}
+</body>
+</html>
diff --git a/templates/view.html b/templates/view.html
new file mode 100644
index 0000000..5c14175
--- /dev/null
+++ b/templates/view.html
@@ -0,0 +1,9 @@
+<html>
+<title>View Session Cookie</title>
+Username: {{ s_user }}<br/>{#
+Cookie user: {{ c_user }}<br/>
+Session: {{ session }}<br/>
+Cookies: {{ cookie }}<br/>#}
+Session expires: {{ cookie.timestamp }}<br/>
+Logged in through: {{ cookie.type }}
+</html>
bgstack15