feat: implemented smtp service;
feat: implemented registration emails; fix: config variables for password length used the same env variable; refactor: all available config variables added to docker-compose.yml
This commit is contained in:
@@ -50,7 +50,7 @@ type Config struct {
|
||||
SmtpTimeout uint `mapstructure:"SMTP_TIMEOUT"`
|
||||
|
||||
PasswordMinLength int `mapstructure:"PASSWORD_MIN_LENGTH"`
|
||||
PasswordMaxLength int `mapstructure:"PASSWORD_MIN_LENGTH"`
|
||||
PasswordMaxLength int `mapstructure:"PASSWORD_MAX_LENGTH"`
|
||||
PasswordCheckNumbers bool `mapstructure:"PASSWORD_CHECK_NUMBERS"`
|
||||
PasswordCheckCharacters bool `mapstructure:"PASSWORD_CHECK_CHARACTERS"`
|
||||
PasswordCheckCases bool `mapstructure:"PASSWORD_CHECK_CASES"`
|
||||
|
||||
Reference in New Issue
Block a user