Ability to create account for members

This commit is contained in:
William Bouzourène 2026-03-18 19:17:25 +01:00
parent 07db65f63f
commit 2e332b8f3e
Signed by: bouzoure
GPG key ID: 423440D735B56BE2
5 changed files with 138 additions and 16 deletions

View file

@ -1,7 +1,7 @@
package models
import (
"time"
"database/sql"
"github.com/google/uuid"
"gorm.io/gorm"
@ -30,13 +30,9 @@ type PersonAccount struct {
Person Person
UUID uuid.UUID `gorm:"unique"`
Enabled bool
Email string `gorm:"unique"`
GivenName string
FamilyName string
DisplayName string
Groups string
InitialPassword string
InvitationSent time.Time
InvitationSent sql.NullTime
AccountReady bool
AccountCreated bool
UpdateNeeded bool