In a Symfony 2.4 project our client wants to force the users to change their password every N days. We saw that there are columns "credentials_expired" and "credentials_expire_at" in the database and a check that throws an AccountExpiredException in the UserChecker class that seem to be for that purpose, but I can't find any documentation on how to enable or configure this feature.
- How can the credentials_expire_at column be filled with a date N days after now on every password change?
- How can a user still change the password, if the password is expired?
- How to warn the user about the passoword expiration some days in advance?
- Is it possible to forbid the reuse of the last password?