Email is unique for people + start work on authelia integration
This commit is contained in:
parent
76981f31c8
commit
aeb43e4775
9 changed files with 82 additions and 4 deletions
1
helpers/authelia/users.go
Normal file
1
helpers/authelia/users.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package authelia
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ func GetDatabase() (*gorm.DB, error) {
|
|||
&models.Role{},
|
||||
&models.UserRole{},
|
||||
&models.Person{},
|
||||
&models.PersonAccount{},
|
||||
&models.List{},
|
||||
&models.ListItem{},
|
||||
&models.Field{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue