From 2e77baae1b72b79c7e42eab0ec60d6c4889547c9 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 21 Jan 2025 02:07:50 +0000 Subject: [PATCH] Add UserChecker to check for expired passwords, ensure users have active accounts --- config/packages/security.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 3ca18a7..11e28ef 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -15,11 +15,19 @@ security: pattern: ^/uploads/user_images/ security: false dev: - pattern: ^/(_(profiler|wdt)|css|images|js)/ + pattern: + - ^/_profiler + - ^/_wdt + - ^/css + - ^/images + - ^/js + - ^/uploads + - ^/favicon.ico security: false main: lazy: true provider: app_user_provider + user_checker: App\Security\UserChecker form_login: login_path: app_login check_path: app_login