diff options
author | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-04-26 16:18:16 +0000 |
---|---|---|
committer | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-04-26 16:18:16 +0000 |
commit | da83671faaaaf84ebcfb171745166952ddb2d46c (patch) | |
tree | 9a12c56c475cebf8376204c38fae82653c52b1b2 /pages/whats_on.ecpp | |
parent | dd0362636658a20fb4144f6b221cf2808ffa6439 (diff) | |
download | vdr-plugin-live-da83671faaaaf84ebcfb171745166952ddb2d46c.tar.gz vdr-plugin-live-da83671faaaaf84ebcfb171745166952ddb2d46c.tar.bz2 |
Added authentication
Diffstat (limited to 'pages/whats_on.ecpp')
-rw-r--r-- | pages/whats_on.ecpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index e24aca5..daf09d4 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -15,8 +15,13 @@ using namespace vdrlive; <%args> type = "now"; </%args> +<%session scope="global"> +bool logged_in(false); +</%session> <%include>page_init.eh</%include> <{ +if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); + cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); |