diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-13 11:20:09 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-13 11:20:09 +0300 |
commit | 1cc1366eb3497830ed6916c092b856d9ccea5b3d (patch) | |
tree | a566d8841bac7f10af1d399dea8827639314c910 /lib | |
parent | c88707760e0f099df2f43f40ac9dc57c2267c302 (diff) |
Require CSRF
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/AlbumsController.php | 2 |
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); |