]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Create config even if user is disabled
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 4 Oct 2016 08:42:45 +0000 (10:42 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 4 Oct 2016 08:42:46 +0000 (10:42 +0200)
commit755ff9e835614fd66f67615aede950b38f8ab308
treeb1c31a46b1e13cd974e0c172c4c8d460af155400
parentf0b2d57154832fdd6255a1bef0df34a7144806c5
Create config even if user is disabled

When a user register itself AND the wallabag instance is configured to send a confirmation email, the user is disabled when the listener (which create the config) receive the event.
There were a check (don't know why) if the user is enabled we create the config. But the user is disabled when confirmation email is actived.
src/Wallabag/UserBundle/EventListener/CreateConfigListener.php
tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php