mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
fix(account): fix remove account service smtp config verification (#5917)
remove smtp config verification
This commit is contained in:
@@ -189,9 +189,6 @@ func Init(ctx context.Context) error {
|
||||
Passwd: os.Getenv(utils.EnvSMTPPassword),
|
||||
EmailTitle: os.Getenv(utils.EnvSMTPTitle),
|
||||
}
|
||||
if SMTPConfig.ServerHost == "" || SMTPConfig.FromEmail == "" || SMTPConfig.Passwd == "" || SMTPConfig.EmailTitle == "" {
|
||||
return fmt.Errorf("empty smtp config: %v", SMTPConfig)
|
||||
}
|
||||
setDefaultDebtPeriodWaitSecond()
|
||||
SetDebtConfig()
|
||||
scheme := runtime.NewScheme()
|
||||
|
||||
Reference in New Issue
Block a user