summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/logout.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-01-06 18:03:19 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-01-06 18:03:19 +0000
commit232c0b7fd0df7f84543bc29380a0734ef1e84a02 (patch)
treed5c4a59943387359a018a6f62c7915dfba7ff2d2 /modules/gallery/controllers/logout.php
parentbee51f53373aa6973a809fa5d6a6fd487e9d6426 (diff)
parentc5d14438959346551765757a506689a7d8b13665 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
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);