Fix towards the new password expiration policy

This commit is contained in:
Pinga 2025-02-11 23:37:17 +02:00
parent ddfb8fed75
commit 6968bfafa2
7 changed files with 191 additions and 9 deletions

View file

@ -538,7 +538,8 @@ CREATE TABLE IF NOT EXISTS users (
"tfa_secret" VARCHAR(32),
"tfa_enabled" BOOLEAN DEFAULT false,
"auth_method" VARCHAR(255) DEFAULT 'password',
"backup_codes" TEXT
"backup_codes" TEXT,
"password_last_updated" TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS users_audit (