remove auth disabled support (#1013)

This commit is contained in:
ekko
2026-05-25 12:49:01 +08:00
committed by GitHub
parent 56c6cf3e2d
commit d03d5e6ac5
13 changed files with 18 additions and 61 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export async function login(ctx: Context) {
token = await issueUserJwt(user)
} catch (err: any) {
ctx.status = 500
ctx.body = { error: err?.message || 'Auth is disabled on this server' }
ctx.body = { error: err?.message || 'Failed to issue login token' }
return
}