mirror of https://github.com/nextcloud/photos
Require CSRF
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
c88707760e
commit
1cc1366eb3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue