mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-14 00:27:03 +02:00
Fix towards the new password expiration policy
This commit is contained in:
parent
ddfb8fed75
commit
6968bfafa2
7 changed files with 191 additions and 9 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue