mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-14 16:46:59 +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
|
@ -605,6 +605,7 @@ CREATE TABLE IF NOT EXISTS `registry`.`users` (
|
|||
`tfa_enabled` TINYINT DEFAULT 0,
|
||||
`auth_method` ENUM('password', '2fa', 'webauthn') DEFAULT 'password',
|
||||
`backup_codes` TEXT,
|
||||
`password_last_updated` timestamp NULL DEFAULT current_timestamp(),
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `email` (`email`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Panel Users';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue