diff options
Diffstat (limited to 'core/controllers/admin.php')
-rw-r--r-- | core/controllers/admin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/controllers/admin.php b/core/controllers/admin.php index 2a6bae7e..6e44c54e 100644 --- a/core/controllers/admin.php +++ b/core/controllers/admin.php @@ -33,6 +33,10 @@ class Admin_Controller extends Controller { } public function __call($controller_name, $args) { + if (request::method() == "post") { + access::verify_csrf(); + } + if ($controller_name == "index") { $controller_name = "dashboard"; } |