mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 15:51:55 +02:00
welcome/charge/confirm copy changes, send email confirmation token before welcome
This commit is contained in:
parent
e00f991c4c
commit
fcc9f66076
4 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue