Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-13 11:20:09 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-13 11:20:09 +0300
commit1cc1366eb3497830ed6916c092b856d9ccea5b3d (patch)
treea566d8841bac7f10af1d399dea8827639314c910 /lib
parentc88707760e0f099df2f43f40ac9dc57c2267c302 (diff)
Require CSRF
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/AlbumsController.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Controller/AlbumsController.php b/lib/Controller/AlbumsController.php
index e57539bc..bb096ad2 100644
--- a/lib/Controller/AlbumsController.php
+++ b/lib/Controller/AlbumsController.php
@@ -50,7 +50,6 @@ class AlbumsController extends Controller {
/**
* @NoAdminRequired
- * @NoCSRFRequired
*/
public function myAlbums(string $path = ''): JSONResponse {
return $this->generate($path, false);
@@ -58,7 +57,6 @@ class AlbumsController extends Controller {
/**
* @NoAdminRequired
- * @NoCSRFRequired
*/
public function sharedAlbums(string $path = ''): JSONResponse {
return $this->generate($path, true);