feat: журнал попыток входа и сброс счётчика на служебной странице

This commit is contained in:
anor
2026-08-15 03:16:01 +10:00
parent a2a1da6dde
commit 8be0487c46
3 changed files with 88 additions and 2 deletions
+1
View File
@@ -220,6 +220,7 @@ app.get('/api/schema', (request, response) => {
// Separate endpoints on purpose - /api/data must not gain a single byte.
app.use('/api/admin', createAdminRouter({
history,
auth,
getStatus: () => ({
dataDir: DATA_DIR,
loadedAt: cache?.meta?.loadedAt ?? null,