api: use COMMENTO_ prefix on errors
Closes https://gitlab.com/commento/commento-ce/issues/44
This commit is contained in:
@@ -20,7 +20,7 @@ func smtpConfigure() error {
|
||||
}
|
||||
|
||||
if os.Getenv("SMTP_FROM_ADDRESS") == "" {
|
||||
logger.Errorf("SMTP_FROM_ADDRESS not set")
|
||||
logger.Errorf("COMMENTO_SMTP_FROM_ADDRESS not set")
|
||||
smtpConfigured = false
|
||||
return errorMissingSmtpAddress
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user