Email is unique for people + start work on authelia integration

This commit is contained in:
William Bouzourène 2026-03-13 14:42:40 +01:00
parent 76981f31c8
commit aeb43e4775
Signed by: bouzoure
GPG key ID: 423440D735B56BE2
9 changed files with 82 additions and 4 deletions

View file

@ -0,0 +1 @@
package authelia

View file

@ -20,6 +20,9 @@ type Config struct {
Sessions struct {
Location string `env:"SESSIONS_LOCATION"`
}
Authelia struct {
UsersLocation string `env:"AUTHELIA_USERS_LOCATION"`
}
}
var configParsed bool

View file

@ -52,6 +52,7 @@ func GetDatabase() (*gorm.DB, error) {
&models.Role{},
&models.UserRole{},
&models.Person{},
&models.PersonAccount{},
&models.List{},
&models.ListItem{},
&models.Field{},