-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Password reset confirmation email is not sent on occ command user:resetpassword #33384
Comments
GitMate.io thinks the contributor most likely able to help you is @phil-davis. Possibly related issues are #17869 (Can't reset password), #10092 (User Password Reset), #32569 (Expand occ user reset password email validation), #21561 (Password reset is not sending emails), and #9728 (Sending password reset eMail doesn't work). |
@PVince81 I guess this is a bug? @paurakhsharma do you already have an acceptance test scenario to demonstrate this? |
@phil-davis, We don't have tests to demonstrate this. |
Let's make an acceptance test scenario for this. It is strange that if the sysadmin sets the password by typing it in, then the email is sent, but if the command gets it from the env variable then the email is not sent. I guess there will be some slightly different place in the code path that reads the env variable. |
Description
When the
administrator
resets the password of a user using the occ command with environment variableOC_PASS
and set--sent-email
.sudo -E -u www-data ./occ user:resetpassword newuser --send-email --password-from-env
As expected the password of the user is changed but the email is not sent to the user saying his/her email has been changed.
Is this the expected behavior?
@phil-davis, @individual-it
The text was updated successfully, but these errors were encountered: