Quellcode durchsuchen

Use MAIL_FROM instead

Girish Ramakrishnan vor 7 Jahren
Ursprung
Commit
9be31e7ac7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      start.sh

+ 2 - 2
start.sh

@@ -36,10 +36,10 @@ if [[ ! -f "/app/data/.dbsetup" ]]; then
 
     if [[ -n "${LDAP_SERVER:-}" ]]; then
         admin_password=$(pwgen -1y 16)
-        admin_email=${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}
+        admin_email=${MAIL_FROM}
     else
         admin_password="changeme"
-        admin_email=${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}
+        admin_email=${MAIL_FROM}
     fi
 
     echo "Admin password is ${admin_password} and email is ${admin_email}"