diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-09-05 18:02:00 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-05 18:02:00 +0200 |
commit | e4452f0f314797ed0a36deb1eeafa7a830987519 (patch) | |
tree | 756e580369a2885154fe774052a193eac8783e1b /application | |
parent | e071499ad9bb9fe82d39fe001ab9cf5c8d4eeb78 (diff) |
Disable CSRF for cli clients on user/create_apikey
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/core/MY_Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index b3a561032..3b928945b 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -74,6 +74,7 @@ class MY_Controller extends CI_Controller { "file/do_delete", "file/delete", "file/upload_history", + "user/create_apikey", ), ); if (in_array($uri_start, $csrf_whitelisted_handlers["always"])) { |