Skip to content

Commit 6154829

Browse files
committed
Use correct annotation. Fixes #10
1 parent 78defa1 commit 6154829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EventListener/PasswordChangeListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313

1414
namespace Terminal42\PasswordValidationBundle\EventListener;
1515

16-
use Contao\CoreBundle\ServiceAnnotation\Callback;
16+
use Contao\CoreBundle\ServiceAnnotation\Hook;
1717
use Contao\User;
1818
use Terminal42\PasswordValidationBundle\Model\PasswordHistory;
1919
use Terminal42\PasswordValidationBundle\Validation\ValidationConfiguration;
2020

2121
/**
2222
* This listener forces a password change for passwords being too old.
2323
*
24-
* @Callback("postLogin")
24+
* @Hook("postLogin")
2525
*/
2626
final class PasswordChangeListener
2727
{

0 commit comments

Comments
 (0)