rename twoFactor* to totp

This commit is contained in:
Girish Ramakrishnan
2026-03-16 16:27:00 +05:30
parent 81a8aa7c3d
commit 009d0b39f9
20 changed files with 97 additions and 628 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ CREATE TABLE IF NOT EXISTS users(
ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
displayName VARCHAR(512) DEFAULT "",
fallbackEmail VARCHAR(512) DEFAULT "",
twoFactorAuthenticationSecret VARCHAR(128) DEFAULT "",
twoFactorAuthenticationEnabled BOOLEAN DEFAULT false,
totpSecret VARCHAR(128) DEFAULT "",
totpEnabled BOOLEAN DEFAULT false,
source VARCHAR(128) DEFAULT "",
role VARCHAR(32),
inviteToken VARCHAR(128) DEFAULT "", // one time token until user sets up account