From a68df91bb5facc95b0505fdbff99874e0fd48a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 18 Oct 2023 17:28:18 +0200 Subject: [PATCH] Feat: Raise max filesize for uploaded photos --- templates/teamer/profile/index.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/teamer/profile/index.html.twig b/templates/teamer/profile/index.html.twig index ef00806..1ab4b9b 100644 --- a/templates/teamer/profile/index.html.twig +++ b/templates/teamer/profile/index.html.twig @@ -162,6 +162,7 @@ {% include '_partials/_upload_collection_form.html.twig' with { 'endpoint_upload': path('_uploader_upload_photo'), + 'max_filesize': 5, 'upload_session_params': form.vars.upload_session_params, 'accepted_files': 'image/jpg,image/jpeg', } %}