summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/logout.php')
-rw-r--r--modules/gallery/controllers/logout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/logout.php b/modules/gallery/controllers/logout.php
index fe9c48ba..bfcf0f9e 100644
--- a/modules/gallery/controllers/logout.php
+++ b/modules/gallery/controllers/logout.php
@@ -19,6 +19,7 @@
*/
class Logout_Controller extends Controller {
public function index() {
+ access::verify_csrf();
auth::logout();
if ($continue_url = Input::instance()->get("continue")) {
$item = url::get_item_from_uri($continue_url);