summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-04 21:33:14 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-04 21:33:14 -0700
commit67f920d55531f12dc23da9db9f4a32c02994dfdb (patch)
treee757626bf178889554221b1b528ca38685e9b7f9 /themes
parentac70a1b77a01165d2a293f60c270f4f0f1181380 (diff)
Add a csrf to the logout link.
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_default/views/admin.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php
index 25d73169..63ff3ac7 100644
--- a/themes/admin_default/views/admin.html.php
+++ b/themes/admin_default/views/admin.html.php
@@ -43,7 +43,7 @@
<?= $theme->admin_header_top() ?>
<ul id="gLoginMenu">
<li class="first"><?= html::anchor("albums/1", "Browse the Gallery") ?></li>
- <li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1") ?>">Logout</a></li>
+ <li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1&csrf=$csrf") ?>">Logout</a></li>
</ul>
<a href="<?= url::site("albums/1") ?>"><img src="<?= url::file("themes/default/images/logo.png") ?>" id="gLogo" alt="<?= t("Gallery 3: Your Photos on Your Web Site") ?>" /></a>
<div id="gSiteAdminMenu" style="display: none">