mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-06 09:29:35 +00:00
Added an mechanism to reset passwords via mail.
This commit is contained in:
parent
0716b8ff93
commit
6a0d027675
20 changed files with 2373 additions and 64 deletions
|
|
@ -17,6 +17,8 @@ parameters:
|
|||
# Allow users to download attachments to server. Warning: This can be dangerous, because via that feature attackers maybe can access ressources on your intranet!
|
||||
allow_attachments_downloads: false
|
||||
demo_mode: '%env(bool:DEMO_MODE)%' # If set to true, all potentially dangerous things are disabled (like changing passwords of the own user)
|
||||
sender_email: 'noreply@partdb.changeme'
|
||||
sender_name: 'Part-DB Mailer'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
|
|
@ -36,6 +38,12 @@ services:
|
|||
resource: '../src/Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
App\EventSubscriber\MailFromListener:
|
||||
tags: ['kernel.event_subscriber']
|
||||
arguments:
|
||||
$email: '%sender_email%'
|
||||
$name: '%sender_name%'
|
||||
|
||||
Liip\ImagineBundle\Service\FilterService:
|
||||
alias: 'liip_imagine.service.filter'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue