sylv / micro

A vanity image host with url shortening, 2fa, videos, and much more.
https://micro.sylo.digital
GNU Affero General Public License v3.0
43 stars 4 forks source link

Can't delete files from non-default domain #21

Closed RuiNtD closed 2 years ago

RuiNtD commented 2 years ago

Steps to reproduce

  1. Upload a file to a non-default domain (such as {{username}}.is-fucking.gay)
  2. Go to Files and click the uploaded file

Expected result

I will be logged in at the webpage I'm redirected to, able to delete the uploaded file.

What happens instead

I am redirected to my file at the selected domain, where I'm not logged in, and am given no button to delete my file.

Workaround

Change the domain in the URL to micro.sylo.digital