mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-21 23:33:54 -04:00
Add a csrf to the logout link.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user