fixed bugs
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
package models
|
||||
|
||||
type InitialUserConfig struct {
|
||||
Email string `yaml:"email"`
|
||||
Username string `yaml:"username"`
|
||||
Password string `yaml:"password"`
|
||||
}
|
||||
|
||||
type EmailConfig struct {
|
||||
FromEmail string `yaml:"from_email"`
|
||||
Username string `yaml:"username"`
|
||||
@@ -35,6 +41,7 @@ type UserPassAuthConfig struct {
|
||||
Type DatabaseType `yaml:"type"`
|
||||
Mongo *MongoDBConfig `yaml:"mongo"`
|
||||
InviteTokenDatabase InviteTokenDatabaseConfig `yaml:"invite_token_database"`
|
||||
InitialUser *InitialUserConfig `yaml:"initial_user"`
|
||||
}
|
||||
|
||||
type AuthenticationConfig struct {
|
||||
|
Reference in New Issue
Block a user