summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/smokeping_install.pod2
-rw-r--r--etc/basepage.html.dist1
2 files changed, 3 insertions, 0 deletions
diff --git a/doc/smokeping_install.pod b/doc/smokeping_install.pod
index f3b81bd..0c922d9 100644
--- a/doc/smokeping_install.pod
+++ b/doc/smokeping_install.pod
@@ -175,6 +175,8 @@ Edit the html template to your likings. Please do not remove the link to the
SmokePing counter and my name from the template. The content of the
template will be renderd by smokeping.cgi. This means that all embedded
links must be relative to smokeping.cgi.
+If you are using HTTP authentication, then the template variable C<authuser> will be populated
+from the C<$ENV{REMOTE_USER}> environment variable.
=item F<etc/smokemail>
diff --git a/etc/basepage.html.dist b/etc/basepage.html.dist
index ff347c1..fbf0d55 100644
--- a/etc/basepage.html.dist
+++ b/etc/basepage.html.dist
@@ -66,6 +66,7 @@ a.menulink:hover {
<TR>
<TD class="menubar" align="left" width="130" valign="top">
<P></P>
+ <P><h3>Logged in as <##authuser##></h3></P>
<P><B>SmokePing Targets:</B>&nbsp;&nbsp;</P>
<P><##menu##></P>
<br/>