Black-Kamelia / Hedera

A self-hosted screenshots/files hosting system. Hedera + ShareX = ❤️
Apache License 2.0
33 stars 2 forks source link

265 logged in user cannot see their own private files raw #272

Closed notKamui closed 5 months ago

notKamui commented 5 months ago

Closes #265

Added two new environment variables (YOU MUST CHECK THEM OUT):

This is extremely important because cookies can be secure ONLY in the context of SSL. If the server is not secured behind an SSL certificate, the user will get this error on login image

This is also why we need to let the user choose if the server is proxied, to check the SSL certificate one level higher. (we should test this further)

notKamui commented 5 months ago

still needs to be tested in prod mode

notKamui commented 5 months ago

Seems good, do check the description of the PR