first commit
This commit is contained in:
20
app/config/security.yml
Normal file
20
app/config/security.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# To get started with security, check out the documentation:
|
||||
# http://symfony.com/doc/current/book/security.html
|
||||
security:
|
||||
|
||||
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
|
||||
providers:
|
||||
in_memory:
|
||||
memory: ~
|
||||
admin:
|
||||
id: prestashop.security.admin.provider
|
||||
|
||||
firewalls:
|
||||
# disables authentication for assets and the profiler, adapt it according to your needs
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
security: false
|
||||
|
||||
main:
|
||||
anonymous: ~
|
||||
logout_on_user_change: true
|
||||
Reference in New Issue
Block a user