Ability to create account for members
This commit is contained in:
parent
07db65f63f
commit
2e332b8f3e
5 changed files with 138 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue