Add invite user feature for admin

This commit is contained in:
2026-05-06 18:00:33 +02:00
parent e29743d5fa
commit 902279b34a
20 changed files with 398 additions and 83 deletions

View File

@@ -4,7 +4,9 @@ import "gorm.io/gorm"
type User struct {
gorm.Model
Name string `gorm:"index;uniqueIndex"`
Password string
Admin bool
Name string `gorm:"index;uniqueIndex"`
Password string
Admin bool
InviteToken string
Activated bool
}