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
forms: Fix accounts listed in password_reset email to active accounts. #10186
Conversation
Previously we were listing both accounts, active as well as non-active. Fixes: zulip#10130.
Hello @zulip/server-development members, this pull request was labeled with the "area: emails" label, so you may want to check it out! |
Merged as 2dec30e, after: Thinking about this more, though, I'd really like to have a test for this corner case. @shubhamdhama would you be up for extending the existing password reset test class to cover this case? |
ok... I'll take care of this next time.
Sure, I'll do it. |
I think something like the following? [reactivate your account] can be a link to https://zulipchat.com/help/deactivate-or-reactivate-a-user#reactivate-a-user? (Or possibly we should have a separate reactivate-your-account article if we're going to link to it like this; I can take care of that edit if we decide to do it.) Also as a note remember to change both the .html.source and the .txt email when changing the email templates. |
Seems reasonable to me. @rishig do you want to do the PR for this? |
This will take some refactoring, but I think it's worth it. @shubhamdhama, would you be up for making the changes, and I can review? The final state of password_reset.source.html should be the following (note that I renamed some variables for clarity). This will probably be a string of ~10 small commits to get here. Not sure if this is the best place to store this, or if I should open a new issue with the updated text below.
|
Previously we were listing both accounts, active as well as non-active.
Fixes: #10130.
A better alternative for "Kindly, contact the organization administrators." required.