Skip to content

Commit

Permalink
Revert "Disable text body in login email to workaround SMTP "bare LF"…
Browse files Browse the repository at this point in the history
… error"

This reverts commit 684b171.
  • Loading branch information
ku1ik committed Jan 17, 2024
1 parent 684b171 commit 9600846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/asciinema/emails/email.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Asciinema.Emails.Email do
base_email()
|> to(email_address)
|> subject("Welcome to #{hostname}")
# |> render("signup.text", signup_url: signup_url, hostname: hostname)
|> render("signup.text", signup_url: signup_url, hostname: hostname)
|> render("signup.html", signup_url: signup_url, hostname: hostname)
end

Expand All @@ -18,7 +18,7 @@ defmodule Asciinema.Emails.Email do
base_email()
|> to(email_address)
|> subject("Login to #{hostname}")
# |> render("login.text", login_url: login_url, hostname: hostname)
|> render("login.text", login_url: login_url, hostname: hostname)
|> render("login.html", login_url: login_url, hostname: hostname)
end

Expand Down

0 comments on commit 9600846

Please sign in to comment.