PHP Classes
elePHPant
Icontem

File: Tests/Functional/config/switchuser.yml

Recommend this page to a friend!
  Classes of Roni  >  Easy PHP Audit Log Bundle  >  Tests/Functional/config/switchuser.yml  >  Download  
File: Tests/Functional/config/switchuser.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Easy PHP Audit Log Bundle
Log specific events according to configuration
Author: By
Last change:
Date: 10 months ago
Size: 786 bytes
 

Contents

Class file image Download
imports:
    - { resource: ./config.yml }

framework:
    validation: { enabled: true, enable_annotations: true }
    router:
        resource: "%kernel.root_dir%/config/common/logiin_routing.yml"
    csrf_protection: true
    form: true
    default_locale: en
    profiler: { only_exceptions: false }
    templating:    { engines: ['twig'] }

# Twig Configuration
twig:
    debug:            '%kernel.debug%'
    strict_variables: '%kernel.debug%'

security:
    firewalls:
        login_form:
                pattern: ^/login$
                security: false
        main:
            form_login:
                check_path: /login_check
                default_target_path: /some-secure-url/simple.event
            logout: ~
            anonymous: ~
            switch_user: true