mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
HTTP_AUTH_USER / HTTP_AUTH_PASS ignored #61
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @odoucet on GitHub.
Hello,
It appears HTTP_AUTH_USER and HTTP_AUTH_PASS are not doing anything (when used as docker container).
I was expecting an authentication to be required on file uploads when these two variables are present, but nothing happens and everyone can upload a file without auth.
I'm wondering if I'm using it correctly ...
@odoucet commented on GitHub:
Thanks! I'll wait for https://hub.docker.com/r/dutchcoders/transfer.sh to be updated and I'll confirm to you if it is fixed :)
@paolafrancesca commented on GitHub:
@odoucet can you please share how do you launch your docker container?
either cli command line for
docker run, your docker-compose file, or whatever? :)@paolafrancesca commented on GitHub:
woha! there was a huge bug in the basic auth logic since #537 !
glad you reported @odoucet
fixed in #564