Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Added Show/Hide password in signup page#447

Open
rajvaibhavdubey wants to merge 1 commit into
fossasia:masterfrom
rajvaibhavdubey:dev1
Open

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

Conversation

@rajvaibhavdubey

Copy link
Copy Markdown
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
Comment thread src/js/signup.js
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
Copy Markdown
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
Copy Markdown
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.

@the-codingninja the-codingninja left a comment

Copy link
Copy Markdown
Member

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

@akshatnitd akshatnitd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please finalize the PR

@samagragupta samagragupta left a comment

Copy link
Copy Markdown
Member

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show/Hide password in signup page

6 participants