Add UserChecker to check for expired passwords, ensure users have active accounts

This commit is contained in:
Ryan Prather 2025-01-21 02:07:50 +00:00
parent d74e10803c
commit 2e77baae1b

View File

@ -15,11 +15,19 @@ security:
pattern: ^/uploads/user_images/ pattern: ^/uploads/user_images/
security: false security: false
dev: dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/ pattern:
- ^/_profiler
- ^/_wdt
- ^/css
- ^/images
- ^/js
- ^/uploads
- ^/favicon.ico
security: false security: false
main: main:
lazy: true lazy: true
provider: app_user_provider provider: app_user_provider
user_checker: App\Security\UserChecker
form_login: form_login:
login_path: app_login login_path: app_login
check_path: app_login check_path: app_login