Skip to content

Commit d8b28bc

Browse files
committed
Improve no token received error message
1 parent 1d5c69a commit d8b28bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/foundation/auth.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export async function authenticateUser(c: AppContext, next: Next) {
233233
if (!token) {
234234
return Response.json({
235235
success: false,
236-
errors: "Authentication error"
236+
errors: "No Authorization token received"
237237
}, {
238238
status: 401,
239239
})

0 commit comments

Comments
 (0)