Skip to content

Update response code when access is denied - #3445

Merged
blazoncek merged 1 commit into
wled:0_14_1from
Moustachauve:ota-lock-post-fix
Oct 17, 2023
Merged

blazoncek merged 1 commit into
wled:0_14_1from
Moustachauve:ota-lock-post-fix

Conversation

@Moustachauve

Copy link
Copy Markdown
Contributor

Having the wrong pin would result in a server error (500).
The more appropriate error code for that would be 401.
This also changes the page that asks for users to login from 200 to 401.

Having the wrong pin would result in a server error (500). The more appropriate error code for that would be 401.
This also changes the page that asks for users to login from 200 to 401.

@blazoncek blazoncek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Thank you.

@blazoncek
blazoncek changed the base branch from main to 0_14_1 October 17, 2023 04:29
@blazoncek
blazoncek merged commit 36290c2 into wled:0_14_1 Oct 17, 2023
@Moustachauve
Moustachauve deleted the ota-lock-post-fix branch February 7, 2024 16:14
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
Update response code when access is denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants