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

Added Show/Hide password in signup page #447

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajvaibhavdubey
Copy link
Member

Fixes #445

Checklist

  • I have read the Contribution & Best practices Guide and my PR follows them.
  • My branch is up-to-date with the Upstream master branch.
  • The unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • All the functions created/modified in this PR contain relevant docstrings.

Short description of what this resolves:

Adds show/hide password button on signup page.

screenshot from 2018-11-02 01-29-26

Adds show/hide password button on signup page.

Fixes fossasia#445
samagragupta
samagragupta approved these changes Nov 4, 2018
@rajvaibhavdubey rajvaibhavdubey mentioned this pull request Nov 5, 2018
6 tasks
toggle.classList.toggle("fa-eye");
toggle.classList.toggle("fa-eye-slash");
if (toggle.classList.contains("fa-eye-slash")) {
document.getElementById("password").type = "password";
Copy link
Member

Choose a reason for hiding this comment

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

Instead of document.getElementById("password") you can use password

Copy link
Member

Choose a reason for hiding this comment

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

Same at line 32.

Copy link
Member

@ms10398 ms10398 left a comment

Choose a reason for hiding this comment

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

Please do the suggested changes

Copy link
Member

@akshatnitd akshatnitd left a comment

Choose a reason for hiding this comment

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

Please finalize the PR

Copy link
Member

@samagragupta samagragupta left a comment

Choose a reason for hiding this comment

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

Please do the following changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show/Hide password in signup page
6 participants