pasteboard icon indicating copy to clipboard operation
pasteboard copied to clipboard

isImageOwner and Delete

Open ThaMunsta opened this issue 10 years ago • 1 comments

Love this script. Very easy to share screen shots

Not sure if these problems are related to each other but after uploading an image the delete button doesn't show up. When I change the if statement to ! isImageOwner it will show the delete button but clicking it and confirming delete doesn't remove the image. I get a 403 error on post for /Images/[imagename].jpg/delete

Thanks!

ThaMunsta avatar Oct 02 '14 01:10 ThaMunsta

I've determined this is a cookie issue. Not totally sure why the page doesn't want to create a cookie for me but I removed some of the checks so I can delete images. Not too worried security around that feature since I'm the only one using it lol Tried installing npm cookie-parser since I saw reference to that but no help. Meh

ThaMunsta avatar Apr 14 '15 03:04 ThaMunsta