Symfony 4 Password Expiration after 1 Year

As part of a project I need to do a password expiration system after a year. I therefore added the fields in the entity, created a UserChecker service which generates a CredentialsExpiredException.

I come up against a solution that is both secure and practical for displaying a password change form for the user who has just connected.

Do you have some examples to give me on this feature?

Thanks

Fabian

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *