first commit

This commit is contained in:
2024-11-18 17:07:22 +01:00
parent 416ce7479f
commit d8882c93b9
26 changed files with 1150 additions and 104 deletions

View File

@ -4,14 +4,18 @@ security:
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
# https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider
providers:
users_in_memory: { memory: null }
# used to reload user from session & other features (e.g. switch_user)
app_user_provider:
entity:
class: App\Entity\User
property: username
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
lazy: true
provider: users_in_memory
provider: app_user_provider
# activate different ways to authenticate
# https://symfony.com/doc/current/security.html#the-firewall

View File

@ -1,6 +1,9 @@
twig:
file_name_pattern: '*.twig'
file_name_pattern: "*.twig"
globals:
appName: "%appName%"
when@test:
twig:
strict_variables: true
twig:
strict_variables: true