We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello After a successfull reset password, the Users.resetPasswordUserId session key is persisted.
in PasswordManagementTrait there is check to validate the reset password confirmation workflow :
$user->id = $this->getRequest()->getSession()->read( Configure::read('Users.Key.Session.resetPasswordUserId') );
DO you think would be better to delete it to prevent access to reset-password page without the confirmation workflow ?
I added it in on my subclass of the trait before dispatching EVENT_AFTER_CHANGE_PASSWORD.
Now if user try to access the reset url without requesting a password it will be redirected to login .
Rudy
The text was updated successfully, but these errors were encountered:
@rudy1976s is this still an issue in latest version?
Sorry, something went wrong.
No branches or pull requests
Hello
After a successfull reset password, the Users.resetPasswordUserId session key is persisted.
in PasswordManagementTrait there is check to validate the reset password confirmation workflow :
DO you think would be better to delete it to prevent access to reset-password page without the confirmation workflow ?
I added it in on my subclass of the trait before dispatching EVENT_AFTER_CHANGE_PASSWORD.
Now if user try to access the reset url without requesting a password it will be redirected to login .
Rudy
The text was updated successfully, but these errors were encountered: