This commit is contained in:
2026-09-13 00:33:39 +07:00
parent bd6b0ea8f2
commit 9f818c6aad
7 changed files with 30 additions and 6 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ func main() {
}
usersRepo := users_repo.NewUserRepo(dbpool)
passwordGenerator := password_generator.NewGenerator(12)
passwordGenerator := password_generator.NewGenerator(8)
smtpTimeout := 10 * time.Second
if v := os.Getenv("SMTP_TIMEOUT"); v != "" {
if d, err := time.ParseDuration(v); err == nil && d > 0 {