Symfony 4 Password Expiration after 1 Year

  change-password, security, symfony

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

LEAVE A COMMENT