Implement Totp authentication

This commit is contained in:
2024-06-19 16:23:28 +07:00
parent c3948bb1c1
commit cdc365e89b
9 changed files with 210 additions and 10 deletions

View File

@ -7,6 +7,7 @@ type User struct {
Username string `gorm:"unique;not null"`
Email string `gorm:"unique;not null"`
Password string `gorm:"not null"`
Totp string `gorm:"not null"`
}
type File struct {