Feat: Force password reset - #601
Merged
Merged
Conversation
kenjis
reviewed
Jan 16, 2023
Member
|
Tests do not pass on Postgres. Detailshttps://github.com/codeigniter4/shield/actions/runs/3933401851/jobs/6727065311 |
Member
|
Rector check failed. Please run rector to fix them. |
sammyskills
force-pushed
the
force-password-reset
branch
from
January 19, 2023 07:22
b30dd31 to
7164e03
Compare
Member
|
Test does not pass. |
sammyskills
force-pushed
the
force-password-reset
branch
from
January 20, 2023 16:03
eea7398 to
d58049b
Compare
Contributor
Author
|
The test passed now. Please check. |
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
kenjis
reviewed
Jan 21, 2023
Contributor
Author
|
Hi @kenjis, Still waiting for your review. |
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
kenjis
reviewed
Jan 30, 2023
…set() from UserIdentityModelTest
sammyskills
force-pushed
the
force-password-reset
branch
from
February 2, 2023 19:52
5a4d60f to
83baaa8
Compare
kenjis
approved these changes
Feb 3, 2023
Member
|
@sammyskills Thank you! |
kenjis
reviewed
Feb 3, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #522
Implemented the force password reset functionality with the following highlights:
Resettabletrait that is used on theUserentity. 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 @lonnieezellUserIdentityModelwith methods to force a password reset for multiple users and globally, i.e., all the users.ForcePasswordResetFilterto check and redirect appropriately after a user is logged in.Registrarconfig.Authconfig to allow devs to specify aforce_resetredirect.quickstart.mdandinstall.mddocs.