feat: add hub

This commit is contained in:
huaqo
2026-10-03 23:57:41 +02:00
parent 5452f72087
commit fb7b560696
52 changed files with 290 additions and 162 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export default defineEventHandler(async (event) => {
if (!(await passwordMatches(event, password))) {
await new Promise(resolve => setTimeout(resolve, FAILED_LOGIN_DELAY_MS))
throw createError({ statusCode: 401, statusMessage: 'Wrong password' })
throw createError({ statusCode: 401, statusMessage: 'Falsches Passwort' })
}
const session = await authSession(event)