Skip to content

Commit

Permalink
Fixing front end log-out.
Browse files Browse the repository at this point in the history
  • Loading branch information
timbuckingham committed May 25, 2017
1 parent b820b5f commit 337f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/admin/ajax/bar.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}
}
?>
bigtree_bar_html += '<a href="#" id="bigtree_bar_close"></a><a href="<?=ADMIN_ROOT?>login/logout/" id="bigtree_logout">Logout</a><div class="divider"></div><span id="bigtree_name"><?=str_replace("'","\'",htmlspecialchars(strip_tags($_GET["username"])))?></span>';
bigtree_bar_html += '<a href="#" id="bigtree_bar_close"></a><a href="<?=ADMIN_ROOT?>login/logout/?true<? $admin->drawCSRFTokenGET() ?>" id="bigtree_logout">Logout</a><div class="divider"></div><span id="bigtree_name"><?=str_replace("'","\'",htmlspecialchars(strip_tags($_GET["username"])))?></span>';
<? if (!empty($_GET["previewing"])) { ?>
bigtree_bar_html += '<span id="bigtree_preview_notice">THIS IS A PREVIEW OF PENDING CHANGES</span>';
<? } elseif (!empty($bigtree["config"]["maintenance_url"])) { ?>
Expand Down

0 comments on commit 337f671

Please sign in to comment.