Skip to content

Show an actionable login error on unauthenticated HTTP 303 responses - #81

Merged
jph00 merged 1 commit into
mainfrom
pr/show-an-actionable-login-error-on-unauthenticated
Dec 3, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/show-an-actionable-login-error-on-unauthenticated

Conversation

@jph00

@jph00 jph00 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

When an unauthenticated request redirected with HTTP 303 and returned no X-Plash-Error header or response body, _mk_auth_req raised PlashError('HTTP 303'). It now raises PlashError('Not authenticated. Run plash-login and retry.') for empty-message 303 responses while preserving explicit server messages and other status codes.

@jph00 jph00 added the enhancement New feature or request label Dec 3, 2026
@jph00
jph00 merged commit 5dd7471 into main Dec 3, 2026
@jph00
jph00 deleted the pr/show-an-actionable-login-error-on-unauthenticated branch December 3, 2026 01:33
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

📖 Documentation Preview: https://plash-docs-pr-81.pla.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant