welcome/charge/confirm copy changes, send email confirmation token before welcome

This commit is contained in:
Kyle Drake 2025-03-24 15:29:00 -05:00
parent e00f991c4c
commit fcc9f66076
4 changed files with 10 additions and 8 deletions

View file

@ -141,12 +141,12 @@ post '/create' do
end
unless education_whitelisted?
send_confirmation_email @site
@site.send_email(
subject: "[Neocities] Welcome to Neocities!",
body: Tilt.new('./views/templates/email/welcome.erb', pretty: true).render(self)
)
send_confirmation_email @site
end
session[:id] = @site.id