Skip to content

Added Show/Hide password in signup page#447

Open
rajvaibhavdubey wants to merge 1 commit intofossasia:masterfrom
rajvaibhavdubey:dev1
Open

Added Show/Hide password in signup page#447
rajvaibhavdubey wants to merge 1 commit intofossasia:masterfrom
rajvaibhavdubey:dev1

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

@the-codingninja the-codingninja 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