summaryrefslogtreecommitdiffstats
path: root/controller/exportcontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 01:59:42 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 22:52:27 +0200
commit4637dcc4587ed0c3b1695568a3c8a3853d695c5d (patch)
treee1778a3ddbaa95568ab90c211d49925f4946d157 /controller/exportcontroller.php
parent6d365e8083ecf67212203fe86fd1e1bf2b4ac281 (diff)
migrate security annotations, please review
Diffstat (limited to 'controller/exportcontroller.php')
-rw-r--r--controller/exportcontroller.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/controller/exportcontroller.php b/controller/exportcontroller.php
index e16a5b513..33cb05204 100644
--- a/controller/exportcontroller.php
+++ b/controller/exportcontroller.php
@@ -61,9 +61,8 @@ class ExportController extends Controller {
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @CSRFExemption
+ * @NoAdminRequired
+ * @NoCSRFRequired
*/
public function opml(){
$userId = $this->api->getUserId();
@@ -75,9 +74,8 @@ class ExportController extends Controller {
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @CSRFExemption
+ * @NoAdminRequired
+ * @NoCSRFRequired
*/
public function articles(){
$userId = $this->api->getUserId();