Welcome page on first login or after password change

This commit is contained in:
William Bouzourène 2024-12-22 13:00:05 +01:00
parent 16ca31f27a
commit eb02ba5ba5
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
7 changed files with 230 additions and 6 deletions

View file

@ -8,10 +8,11 @@ import (
type User struct {
gorm.Model
Name string
Email string
Password string
TotpSercet sql.NullString
DisabledAt sql.NullTime
IsAdmin bool
Name string
Email string
Password string
TotpSercet sql.NullString
DisabledAt sql.NullTime
IsAdmin bool
SkipWelcome bool
}