mirror of
https://gitee.com/gitea/gitea
synced 2025-11-08 02:20:24 +08:00
Do not allow to reuse TOTP passcode (#3878)
This commit is contained in:
@@ -176,6 +176,8 @@ var migrations = []Migration{
|
||||
NewMigration("add is_fsck_enabled column for repos", addFsckEnabledToRepo),
|
||||
// v61 -> v62
|
||||
NewMigration("add size column for attachments", addSizeToAttachment),
|
||||
// v62 -> v63
|
||||
NewMigration("add last used passcode column for TOTP", addLastUsedPasscodeTOTP),
|
||||
}
|
||||
|
||||
// Migrate database to current version
|
||||
|
||||
Reference in New Issue
Block a user