Skip to content

Commit 381ef52

Browse files
chore: wip
1 parent c1f1cce commit 381ef52

25 files changed

+142
-25
lines changed

app/Middleware/BearerToken.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default new Middleware({
66
priority: 1,
77
async handle() {
88
const bearerToken = request.bearerToken() || ''
9-
const validToken = 'Test@1234'
9+
const validToken = ''
1010

1111
if (!bearerToken || bearerToken !== validToken)
1212
throw new HttpError(401, 'Unauthorized.')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)