Skip to content
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

Fixed an issue where disabling password strength meter did not disable it in the password reset form #4615

Merged
merged 2 commits into from
Apr 27, 2021

Conversation

yog-it
Copy link
Contributor

@yog-it yog-it commented Apr 17, 2021

Summary

Added code similar to Password.ascx.cs to ResetPassword.ascx.cs to fix bug #4595.

@bdukes bdukes added this to the 9.9.2 milestone Apr 19, 2021
Comment on lines +121 to +122
this.passwordContainer.CssClass = "password-strength-container";
this.txtPassword.CssClass = "password-strength";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These classes probably should be removed from the ascx file so that they're applied conditionally. Currently, they're already in the ascx file so these lines have no effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Thanks @bdukes.

@yog-it
Copy link
Contributor Author

yog-it commented Apr 27, 2021

This was my first PR for the DNN Platform and I noticed I made a few mistakes. One is that the branch name I made the change in is named develop, another is that I left trailing white-space in the .cs file. I know this PR is approved, but I have another fix to submit for a different issue but can't because of the branch name. Should I close this PR and create a new one from a fresh fork with the proper branch name and no white-space since these are small changes anyway?

@bdukes
Copy link
Contributor

bdukes commented Apr 27, 2021

Yeah, you can resubmit, no problem 👍

@mitchelsellers mitchelsellers merged commit c5add29 into dnnsoftware:develop Apr 27, 2021
@valadas valadas modified the milestones: 9.9.2, 9.10.0 Jul 7, 2021
@valadas valadas changed the title Update PasswordReset.ascx.cs Fixed an issue where disabling password strength meter did not disable it in the password reset form Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants