mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
[WIFI-4240] Add: mailer.sender in all configuration files
This commit is contained in:
@@ -28,6 +28,7 @@ if [[ "$TEMPLATE_CONFIG" = 'true' && ! -f "$OWSEC_CONFIG"/owsec.properties ]]; t
|
||||
MAILER_HOSTNAME=${MAILER_HOSTNAME:-"smtp.gmail.com"} \
|
||||
MAILER_USERNAME=${MAILER_USERNAME:-"************************"} \
|
||||
MAILER_PASSWORD=${MAILER_PASSWORD:-"************************"} \
|
||||
MAILER_SENDER=${MAILER_SENDER:-"OpenWIFI"} \
|
||||
MAILER_PORT=${MAILER_PORT:-"587"} \
|
||||
KAFKA_ENABLE=${KAFKA_ENABLE:-"true"} \
|
||||
KAFKA_BROKERLIST=${KAFKA_BROKERLIST:-"localhost:9092"} \
|
||||
|
||||
@@ -133,6 +133,7 @@ configProperties:
|
||||
authentication.service.type: internal
|
||||
# Mailer
|
||||
mailer.hostname: smtp.gmail.com
|
||||
mailer.sender: OpenWIFI
|
||||
mailer.loginmethod: login
|
||||
mailer.port: 587
|
||||
mailer.templates: $OWSEC_ROOT/templates
|
||||
|
||||
@@ -46,6 +46,7 @@ openwifi.service.key.password = mypassword
|
||||
mailer.hostname = smtp.gmail.com
|
||||
mailer.username = ************************
|
||||
mailer.password = ************************
|
||||
mailer.sender = OpenWIFI
|
||||
mailer.loginmethod = login
|
||||
mailer.port = 587
|
||||
mailer.templates = $OWSEC_ROOT/templates
|
||||
|
||||
@@ -46,6 +46,7 @@ openwifi.service.key.password = ${SERVICE_KEY_PASSWORD}
|
||||
mailer.hostname = ${MAILER_HOSTNAME}
|
||||
mailer.username = ${MAILER_USERNAME}
|
||||
mailer.password = ${MAILER_PASSWORD}
|
||||
mailer.sender = ${MAILER_SENDER}
|
||||
mailer.loginmethod = login
|
||||
mailer.port = ${MAILER_PORT}
|
||||
mailer.templates = $UCENTRALSEC_ROOT/templates
|
||||
|
||||
@@ -165,4 +165,4 @@ namespace OpenWifi {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user