summaryrefslogtreecommitdiffstats
path: root/application/controllers/api
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-04-25 16:53:52 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-04-25 16:53:52 +0200
commit812185f0e721bc2e500c590eb3ffe96a5cd1a518 (patch)
tree19f5f70134bf9271c3a79f22598424449f44fef0 /application/controllers/api
parent59b426dbfb6dd83c0ddf0814f21a536ae500f3d9 (diff)
API 1.3.0: Allow multipaste creation for basic access
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/api')
-rw-r--r--application/controllers/api/v1/api_info.php2
-rw-r--r--application/controllers/api/v1/file.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/api/v1/api_info.php b/application/controllers/api/v1/api_info.php
index e7738294e..abc4fd51e 100644
--- a/application/controllers/api/v1/api_info.php
+++ b/application/controllers/api/v1/api_info.php
@@ -11,6 +11,6 @@ namespace controllers\api\v1;
class api_info extends \controllers\api\api_controller {
static public function get_version()
{
- return "1.2.0";
+ return "1.3.0";
}
}
diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php
index 266b1aff8..ccc83f404 100644
--- a/application/controllers/api/v1/file.php
+++ b/application/controllers/api/v1/file.php
@@ -70,7 +70,7 @@ class file extends \controllers\api\api_controller {
public function create_multipaste()
{
- $this->muser->require_access("apikey");
+ $this->muser->require_access("basic");
$ids = $this->input->post("ids");
$userid = $this->muser->get_userid();
$limits = $this->muser->get_upload_id_limits();