mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
DisableAuth can't be set to True via api #2610
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2610
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @DatGizmo on GitHub (Sep 20, 2023).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
I tried to disable the auth via the ansible plugin, where it did not work.
Then I checked if the error is within the uptime python api.
But looking at the error It seems that the api endpoint is where the error happens.
Note:
When running the method with 'disableAuth = False' after manually disabling it, the code works fine.
👟 Reproduction steps
👀 Expected behavior
Authenticiton is disabled
😓 Actual Behavior
🐻 Uptime-Kuma Version
1.23.1
💻 Operating System and Arch
Ubuntu 22.04.03 LTS
🌐 Browser
qutebrowser v3.0.0
🐋 Docker Version
louislam/uptime-kuma:1.23.1-alpine
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@CommanderStorm commented on GitHub (Sep 20, 2023):
The API you are referencing requires the password to be present.
See
Could you re-check if his is the cause?
Please raise a documentation change PR or issue in https://github.com/lucasheld/uptime-kuma-api
This is an external tool, not managed by us.
See #118 for further details
This is the code where we set the setting:
github.com/louislam/uptime-kuma@38bcab67f9/src/components/settings/Security.vue (L188)@DatGizmo commented on GitHub (Sep 21, 2023):
I checked within the python api, and indeed the password get's set to 'None' before the api was called.
Sorry I thought, because the final error message comes from the uptime-server, that the issue is there.
Will open a issue in the python lib