Use a listener to skip registration

This commit is contained in:
Yassine Guedidi
2022-05-05 23:29:25 +02:00
parent bfc28d4c0b
commit 007bd31bee
4 changed files with 51 additions and 24 deletions

View File

@ -9,6 +9,13 @@ services:
- '@=service(''craue_config'').get(''wallabag_support_url'')'
- '%domain_name%'
Wallabag\UserBundle\EventListener\RegistrationListener:
arguments:
- '%fosuser_registration%'
- '@router'
tags:
- { name: kernel.event_subscriber }
wallabag_user.password_resetting:
class: Wallabag\UserBundle\EventListener\PasswordResettingListener
arguments: