mirror of
https://github.com/wallabag/wallabag.git
synced 2024-09-28 06:11:56 +00:00
0f0e8eb82a
The `resetAction` was overriden to redirect user to the homepage instead of `fos_user_profile_show`. Instead of copying the whole method we can simply use FOSUserEvents to handle that.
17 lines
564 B
YAML
17 lines
564 B
YAML
services:
|
|
wallabag_user.auth_code_mailer:
|
|
class: Wallabag\UserBundle\Mailer\AuthCodeMailer
|
|
arguments:
|
|
- "@mailer"
|
|
- "@twig"
|
|
- "%scheb_two_factor.email.sender_email%"
|
|
- "%scheb_two_factor.email.sender_name%"
|
|
- "%wallabag_support_url%"
|
|
- "%wallabag_url%"
|
|
|
|
wallabag_user.password_resetting:
|
|
class: Wallabag\UserBundle\EventListener\PasswordResettingListener
|
|
arguments:
|
|
- "@router"
|
|
tags:
|
|
- { name: kernel.event_subscriber }
|