Email is unique for people + start work on authelia integration
This commit is contained in:
parent
76981f31c8
commit
aeb43e4775
9 changed files with 82 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
type User struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
Email string
|
||||
Email string `gorm:"unique"`
|
||||
Password string
|
||||
TotpSecret sql.NullString
|
||||
IsAdmin bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue