pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
1.99k stars 343 forks source link

"Copy to Clipboard" copies password and not temp link #145

Closed jjlu2 closed 4 years ago

jjlu2 commented 4 years ago

When a user generates a link to share a password, the "copy to clipboard" buttons copy the password itself and not the temporary link.

brunobcestari commented 4 years ago

Actually, the copy button next to the URL is not working at all (maybe your password was already in your clipboard when you clicked) I fixed it adding a Javascript function for this button here app/assets/javascripts/passwords.js

pglombardo commented 4 years ago

Fix is in progress here: https://github.com/pglombardo/PasswordPusher/pull/149

pglombardo commented 4 years ago

The fix for this has been deployed to pwpush.com and the docker container images have been updated. Thanks for reporting!