Prepare wallabag 2.6.3

This commit is contained in:
Nicolas Lœuillet
2023-08-21 10:51:17 +02:00
parent ffcc5c9062
commit ca879c36de
6 changed files with 47 additions and 14 deletions

View File

@ -75,7 +75,6 @@ class DeveloperController extends AbstractController
*/
public function deleteClientAction(Request $request, Client $client, EntityManagerInterface $entityManager, TranslatorInterface $translator)
{
if (!$this->isCsrfTokenValid('delete-client', $request->request->get('token'))) {
throw $this->createAccessDeniedException('Bad CSRF token.');
}