Use correct annotation. Fixes #10

This commit is contained in:
Richard Henkenjohann committed 2021-11-23 14:25:58 +01:00
1 parent 78defa18a8
commit 6154829b05
1 file changed
+2 -2
+2 -2
View File
@@ -13,7 +13,7 @@ declare(strict_types=1);
namespace Terminal42\PasswordValidationBundle\EventListener;
use Contao\CoreBundle\ServiceAnnotation\Callback;
use Contao\CoreBundle\ServiceAnnotation\Hook;
use Contao\User;
use Terminal42\PasswordValidationBundle\Model\PasswordHistory;
use Terminal42\PasswordValidationBundle\Validation\ValidationConfiguration;
@@ -21,7 +21,7 @@ use Terminal42\PasswordValidationBundle\Validation\ValidationConfiguration;
/**
* This listener forces a password change for passwords being too old.
*
* @Callback("postLogin")
* @Hook("postLogin")
*/
final class PasswordChangeListener
{