-
Notifications
You must be signed in to change notification settings - Fork 133
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
Feat: Force password reset #601
Feat: Force password reset #601
Conversation
Tests do not pass on Postgres.
https://github.com/codeigniter4/shield/actions/runs/3933401851/jobs/6727065311 |
Rector check failed. Please run rector to fix them. |
b30dd31
to
7164e03
Compare
Test does not pass. |
eea7398
to
d58049b
Compare
The test passed now. Please check. |
Hi @kenjis, Still waiting for your review. |
…set() from UserIdentityModelTest
5a4d60f
to
83baaa8
Compare
@sammyskills Thank you! |
Fixes #522
Implemented the force password reset functionality with the following highlights:
Resettable
trait that is used on theUser
entity. This provides a couple of methods to check if a user requires a password reset or not, forcing a password reset and undoing the forced password reset. Thanks @lonnieezellUserIdentityModel
with methods to force a password reset for multiple users and globally, i.e., all the users.ForcePasswordResetFilter
to check and redirect appropriately after a user is logged in.Registrar
config.Auth
config to allow devs to specify aforce_reset
redirect.quickstart.md
andinstall.md
docs.