Add mixxing Recovery field on User object

This commit is contained in:
James Mills
2021-01-30 15:42:27 +10:00
parent 3362aebbc1
commit 35fd594477
2 changed files with 2 additions and 8 deletions

View File

@@ -12,9 +12,10 @@ import (
type User struct {
Username string
Password string
Email string
CreatedAt time.Time
Recovery string `default:"auto"`
Tokens []string `default:"[]"`
}