fix(email): use runtime origin and brand, link account from checkout return #350

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/staging-mail-origin in i main 2026-10-11 09:30:58 +00:00
Ägare

Closes #349

Three fixes.

  • Mail links (account, renew, footer) use the runtime origin from OIDC_REDIRECT_URI, as /api/checkout and the setup link do. Staging mail now links to staging.
  • Mail subjects and bodies use SITE_NAME for the brand, as the page titles and the From name do (#346). An unset value keeps "Bitborg".
  • The checkout return page links a signed-in user to the account page. A visitor without a session still gets the sign-in prompt.

Tests: runtime origin and brand in all three mail builders (sv and en), and the return-page prompt.
Version 1.33.3.

Closes #349 Three fixes. - Mail links (account, renew, footer) use the runtime origin from `OIDC_REDIRECT_URI`, as `/api/checkout` and the setup link do. Staging mail now links to staging. - Mail subjects and bodies use `SITE_NAME` for the brand, as the page titles and the From name do (#346). An unset value keeps "Bitborg". - The checkout return page links a signed-in user to the account page. A visitor without a session still gets the sign-in prompt. Tests: runtime origin and brand in all three mail builders (sv and en), and the return-page prompt. Version 1.33.3.
supernaut lade till 1 incheckning 2026-10-11 09:23:43 +00:00
fix(email): use runtime origin and brand, link account from checkout return (#349)
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m58s
0011865340
supernaut sammanfogade incheckning 32dd00a3d0 till main 2026-10-11 09:30:58 +00:00
supernaut tog bort grenen fix/staging-mail-origin 2026-10-11 09:30:58 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web!350
Ingen beskrivning angiven.