add firewall path for uploads/user_images

This commit is contained in:
Ryan Prather 2025-01-05 05:55:39 +00:00
parent ca379711e2
commit d5b3a56e0f

View File

@ -11,6 +11,9 @@ security:
property: username
# used to reload user from session & other features (e.g. switch_user)
firewalls:
profile_images:
pattern: ^/uploads/user_images/
security: false
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
@ -21,7 +24,7 @@ security:
login_path: app_login
check_path: app_login
enable_csrf: false
default_target_path: /dashboard
default_target_path: app_dashboard
logout:
path: app_logout
# where to redirect after logout