./discourse-setup pone el nombre de usuario SMTP al principio de la contraseña SMTP

Environment

  • Discourse: latest tests-passed
  • Host OS: [Ubuntu 24.04 LTS / 24.04.3 LTS]
  • Install method: official Docker install, running ./discourse-setup
  • Platform: VPS (Digital Ocean)

Steps to reproduce

  1. Run ./discourse-setup from /var/discourse
  2. Enter SMTP details when prompted:
  1. Finish setup and inspect containers/app.yml

Expected result

app.yml should contain two distinct fields, for example:

DISCOURSE_SMTP_USER_NAME: "user@example.com"
DISCOURSE_SMTP_PASSWORD: "p@ssw0rd!"

Actual result

The password field is written with the username prepended:

DISCOURSE_SMTP_USER_NAME: "user@example.com"
DISCOURSE_SMTP_PASSWORD: "user@brevo.comp@ssw0rd!"

This causes mail delivery to fail, and discourse-doctor confirms the mangled password.

Notes
• Quoting the password explicitly at the prompt does not change the outcome.
• Password contains special characters (@, !), but the problem is not just YAML quoting: the username string is literally concatenated at the start of the password.
• Reproducible across multiple runs of ./discourse-setup.

1 me gusta