Skip to content

add missing return after Resp403 in password handlers#252

Merged
cmyui merged 1 commit intoosuAkatsuki:masterfrom
raya-ac:fix/missing-return-password
Apr 3, 2026
Merged

add missing return after Resp403 in password handlers#252
cmyui merged 1 commit intoosuAkatsuki:masterfrom
raya-ac:fix/missing-return-password

Conversation

@raya-ac
Copy link
Copy Markdown
Contributor

@raya-ac raya-ac commented Apr 3, 2026

Fixes #247

Without the return, unauthenticated requests fall through the auth check and continue executing with user ID 0.

@cmyui
Copy link
Copy Markdown
Member

cmyui commented Apr 3, 2026

i don't think it actually caused fallthorugh, it seems to either redirect or error response

image

but agree with the change anyways for clarity of control flow 👍🏻

@cmyui cmyui merged commit 7e720dc into osuAkatsuki:master Apr 3, 2026
1 check passed
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.

Missing return after 403 in password change handlers

2 participants