mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #584] Issue with login in public section #347
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 @manprint on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/584
Hi @sigoden
Problem
If I start dufs with the configuration below (both public and auth access), when I am in the public section the button to log in does not work (clicking it does not happen).
I expect the auth login form to appear so I can enter my credentials to access the root.
Configuration
The build was done directly by the master at the commit
f8b69f4Environment Information
f8b69f4master@sigoden commented on GitHub (May 22, 2025):
That's how it was designed. we don't think there's anything wrong with it.
@manprint commented on GitHub (May 22, 2025):
Hi @sigoden
Thanks for the reply
Can you explain better?
I have in the root / (test:test@/) three folders:
When I access dufs: (localhost:5000) I see in the root only the /public folder and it's ok.. To see the other two folders I should log in.
As I was telling you, when I click on the button at the top left nothing happens.
@sigoden commented on GitHub (May 22, 2025):
@manprint
dufs webui relies on basic auth (the browser's built-in authentication mechanism).
Therefore, its authentication just checks if the user has permission.
f8b69f4df8/assets/index.js (L753-L762)It can only be designed this way.
@manprint commented on GitHub (May 22, 2025):
OK, Thanks