[PR #537] [MERGED] Fix HTTP error code when bad authentication to 401 instead of 400/404… #1280

Closed
opened 2026-02-26 03:30:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/537
Author: @X-Ryl669
Created: 2/9/2017
Status: Merged
Merged: 2/9/2017
Merged by: @phanan

Base: masterHead: authenticateError


📝 Commits (1)

  • b39741d Fix HTTP error code when bad authentication to 401 instead of 400/404, so client can deal with it correctly

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 app/Http/Middleware/GetUserFromToken.php (+2 -2)

📄 Description

So client can deal with it correctly


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/537 **Author:** [@X-Ryl669](https://github.com/X-Ryl669) **Created:** 2/9/2017 **Status:** ✅ Merged **Merged:** 2/9/2017 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `authenticateError` --- ### 📝 Commits (1) - [`b39741d`](https://github.com/koel/koel/commit/b39741d9af120496b8145d10d289998ea021f483) Fix HTTP error code when bad authentication to 401 instead of 400/404, so client can deal with it correctly ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Middleware/GetUserFromToken.php` (+2 -2) </details> ### 📄 Description So client can deal with it correctly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:30:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1280
No description provided.