Files
kimai2/config/packages/framework.yaml
Kevin Papst 0cbf0053d2 Release 2.0.5 (#3888)
- Fixed: mandatory fields / form validation for invoice template
- Added: Duration as calendar title replacer (open: running records)
- Fixed: HTML injection in Calendar
- Fixed: Doctrine Proxies are not initialized (leads to empty customer/project)
- Fixed: tag creation
- Fixed: validation errors do not need to be logged in prod
- Removed: Customer VCard download, as used library is outdated and not maintained
- Added: supporting translations domains in many new places (menu, help_text, page_setup, report, exporter, calendar)
2023-03-05 03:08:43 +01:00

43 lines
1021 B
YAML

framework:
exceptions:
App\Validator\ValidationFailedException:
log_level: debug
secret: '%env(APP_SECRET)%'
default_locale: en
csrf_protection: true
http_method_override: false
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: App\Security\SessionHandler
cookie_secure: auto
cookie_samesite: lax
cookie_httponly: true
storage_factory_id: session.storage.factory.native
#esi: ~
#fragments: ~
php_errors:
log: true
mailer:
dsn: '%env(MAILER_URL)%'
validation:
email_validation_mode: html5
when@dev:
framework:
mailer:
dsn: 'null://null'
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file
mailer:
dsn: 'null://null'