Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Expire time for password reset mails hardcoded into forget/reset password #184

Open
patrickatwsrn opened this issue Nov 13, 2023 · 0 comments

Comments

@patrickatwsrn
Copy link

There doesn't seem to be a way to set an expiration time for password recovery links.

From what I have learned, there seems to be a two hour limit. Which might be so short or to long for some use cases.

There is a discussion about this from 2022 with a solution, but it requires hacking changes into

  • core/components/login/controllers/web/ForgotPassword.php
  • core/components/login/controllers/web/ResetPassword.php

Source: https://community.modx.com/t/logins-resetpassword-how-long-do-you-have-before-it-expires-cache-dependent/4950/2

It would be great to have system setting or even a parameter for this setting.

Regards,

Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant