Move symfony stuff to own folder
This commit is contained in:
32
symfony/config/packages/security.yaml
Normal file
32
symfony/config/packages/security.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
security:
|
||||
password_hashers:
|
||||
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
||||
providers:
|
||||
app_user_provider:
|
||||
memory:
|
||||
users:
|
||||
me@joeac.net:
|
||||
password: '%env(resolve:JOEAC_PASSWORD)%'
|
||||
roles: ['ROLE_EDITOR']
|
||||
firewalls:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
security: false
|
||||
main:
|
||||
lazy: true
|
||||
provider: app_user_provider
|
||||
form_login:
|
||||
login_path: login
|
||||
check_path: login
|
||||
enable_csrf: true
|
||||
logout:
|
||||
path: logout
|
||||
|
||||
when@test:
|
||||
security:
|
||||
password_hashers:
|
||||
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface:
|
||||
algorithm: auto
|
||||
cost: 4 # Lowest possible value for bcrypt
|
||||
time_cost: 3 # Lowest possible value for argon
|
||||
memory_cost: 10 # Lowest possible value for argon
|
||||
Reference in New Issue
Block a user