Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Mask password on upload #673

Closed
wants to merge 1 commit into from
Closed

Conversation

claudijd
Copy link
Contributor

@claudijd claudijd commented Dec 18, 2017

When a user enters a password for a given file download, mask it so it doesn't show to someone looking over their shoulder. I also briefly looked into how to mask the echo'd password, which comes out in pre tags, but would love some advice on how to approach that. Advice is welcomed!

@claudijd
Copy link
Contributor Author

claudijd commented Dec 18, 2017

Behavior change this is attempting to achieve is this...

BEFORE

screen shot 2017-12-18 at 3 27 29 pm

AFTER

screen shot 2017-12-18 at 3 27 46 pm

Basically, make the password hidden while typing it in.

@dannycoates
Copy link
Contributor

After the password is set, we show a set state under the link. Currently, it includes the plain text password. I would be surprised if my hidden input was revealed after I click the button. So, if we want the input to be hidden, I think the display of the set state should be obscured by default as well but include an option to reveal it.

@himanish-star
Copy link
Contributor

@dannycoates , could I make these modifications or @claudijd are you still working on it?

@claudijd
Copy link
Contributor Author

@himanish-star please, feel free to make the mods, I was just trying to help, but my JS isn't that strong.

@himanish-star
Copy link
Contributor

@claudijd , Thanks but shikhar has already filed the PR and I guess he's done it right

@claudijd
Copy link
Contributor Author

claudijd commented Jan 2, 2018

Closing in favor of #686

@claudijd claudijd closed this Jan 2, 2018
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.

3 participants