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