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: Disable public password reset. #993

Closed
a-chacon opened this issue Jul 21, 2023 · 1 comment
Closed

Feature request: Disable public password reset. #993

a-chacon opened this issue Jul 21, 2023 · 1 comment

Comments

@a-chacon
Copy link

Hello! I am using this gem, and it is excellent and simple. I was looking for some configuration to disable the password reset function, I am using this for an admin panel login and I don't want a reset password, maybe it can be disabled by default and only enable when you want to use it. Is it possible to have this configuration? If this has some sense for you, I can try to do it. Only if you think this can be helpful.

For now, I can remove the link in the sign-in view, but the route is still available and public.

I apologize if there is a solution for this that I didn't see.

sej3506 pushed a commit that referenced this issue Aug 9, 2024
solves #993

added config option to disallow password reset routes in cases where its not needed.  allow_password_resets defaults to true but can be set to false in instances where it is not needed.
@sej3506
Copy link
Contributor

sej3506 commented Aug 9, 2024

Added in #1019

@sej3506 sej3506 closed this as completed Aug 9, 2024
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

2 participants