Require CSRF

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-13 09:20:09 +01:00
parent c88707760e
commit 1cc1366eb3
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 0 additions and 2 deletions

View File

@ -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);