-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploader-Password not working as expected #251
Comments
I am facing the same issue on |
This is consistent with the description in the document, and what you expect should be |
oh, I see - seems then I did not understand that in detail . could you still put my whish on the feature request list? So globally secure uploading/posting with a password - so that no one but the password-knowers can upload? |
I think I may understand what you need, what you need is to set the environment variable If that's not what it's meant to be, sadly, I'm not the maintainer, I do not have the access to put it into the feature request list. But maybe I will fork a new repository to support this feature, if I have spare time.
|
@xeulife oops, I overlooked that you are not the maintainer :-D well, I checked my config again and saw that I have the settings set to anyway the restriction to upload only when password is given does not trigger. It shows the password-field but it is not checkend when posting. for me this now seems to be a bug. do you have thime to investigate the issue? maybe you could then provide the maintainer @szabodanika a bugfix 🥇 |
Just try
|
oops again - should not write any reports on a monday MICROBIN_READONLY is set to true already. |
I just tried the configuration and it works properly. A "Uploader password" input box will appear on the left side of the Save button. If the password is incorrect, it will reject uploading anything and prompt "incorrect password". This is my deployment link, you can try it out: Here is my environment variable configuration
Although I think the most critical configuration is only the following two lines, I still post the complete configuration for your convenience in debugging.
Since I copied the environment variable configuration directly from docker-compose.yml, it will contain some "-" symbols, so don't worry about them |
I had the same issue. I figured it out, the problem is that is missing from the default compose.yaml. Add that and if you go to the admin page you'll see that it changes "uploader password" from "unset" to "set" and the tool behaves as expected. |
cool, thanks! yes - this did the trick. |
Something that has tripped me up for hours on this issue with the upload password being declined as incorrect, was my password contained the character |
Not sure if I misunderstood the feature.
I have set an uploader password (MICROBIN_UPLOADER_PASSWORD) and enabled read-only mode (MICROBIN_ENABLE_READONLY) as described in the .env-file.
The microbin-UI then shows the "Uploader Password" field aside the Save-Button, but it does not seem to evaluate it when saving a post. In other words: even though the Uploader-Password is configured it lets me upload any data as if the MICROBIN_UPLOADER_PASSWORD is not configured.
I would expect it to deny upload of any type of post until I input the correct password.
The text was updated successfully, but these errors were encountered: