MichaelThessel / pwx

Online password exchange service
https://pwx.michaelthessel.com
MIT License
41 stars 20 forks source link

"Delete Record" function shows countdown #60

Open craig opened 6 years ago

craig commented 6 years ago

If you use "Delete record after it has been viewed" and open the link, it still shows "This listing will be removed in" and a countdown of one hour. It should say something like "This record was already deleted, you cannot reload the page or reuse the link".

Charlie-Root commented 6 years ago

Just tested it, cannot reproduce this. It gives me a link has expired notice (as expected)

craig commented 6 years ago

Maybe I didn't phrase it well... If you create a link as being viewable once, and then you click that link, it says: "This listing will be removed in 00 days 00 hours 59 minutes 59 seconds" and starts counting down. It should say something like "This record was already deleted, you cannot reload the page or reuse the link".

Otherwise it's potentially confusing, because people expected it to be a one-time link; not a link that's valid for one hour.

I hope this explained it better.