Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79637790 authored by Israel Yago Pereira's avatar Israel Yago Pereira
Browse files

Updating PW env variable

parent 3c82dbb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st
    $from = getenv("WELCOME_MAIL_FROM") ? getenv("WELCOME_MAIL_FROM") : getenv("WELCOME_SMTP_FROM");
    $host = getenv("SMTP_HOST");
    $username = getenv("WELCOME_SMTP_FROM");
    $password = getenv("SMTP_PW");
    $password = getenv("WELCOME_SMTP_PW");
    $headers = array('From' => $from,
        'To' => $to,
        'Subject' => $subject,
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ function sendInviteMailWithPHPMail(string $to, string $signupURL, string $lang):

    $host = getenv("SMTP_HOST");
    $username = getenv("WELCOME_SMTP_FROM");
    $password = getenv("SMTP_PW");
    $password = getenv("WELCOME_SMTP_PW");
    $port = getenv("SMTP_PORT");


+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ fi

export DOMAIN
export WELCOME_SMTP_FROM
export SMTP_PW
export WELCOME_SMTP_PW
export SIGNUP_URL
export SIGNUP_RECIPIENT=$EMAIL
export LANG=$LANG