Add SSH-provisioned TOTP login with JWT sessions
studio CI and deployment / verify-and-deploy (push) Successful in 1m14s
wiki CI and deployment / verify-and-deploy (push) Failing after 25m6s

This commit is contained in:
2026-10-27 00:12:12 +08:00
parent 71d1d28fd7
commit 0c1ed2d292
27 changed files with 627 additions and 19 deletions
+9
View File
@@ -0,0 +1,9 @@
BEGIN;
CREATE TABLE IF NOT EXISTS auth_login_state (
id text PRIMARY KEY,
attempts integer NOT NULL DEFAULT 0,
window_start timestamptz NOT NULL DEFAULT clock_timestamp(),
last_step bigint NOT NULL DEFAULT -1
);
INSERT INTO schema_migrations(version) VALUES ('007_dynamic_code_auth') ON CONFLICT DO NOTHING;
COMMIT;