mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix for verify, ask to check spam folder in email confirm
This commit is contained in:
parent
aad6546631
commit
2e1a8af30d
2 changed files with 4 additions and 2 deletions
|
@ -101,7 +101,7 @@ post '/create' do
|
||||||
@site.phone_confirmed = true if self.class.development?
|
@site.phone_confirmed = true if self.class.development?
|
||||||
|
|
||||||
begin
|
begin
|
||||||
@site.phone_verification_required = true if self.class.production? && BlackBox.phone_verification_required?(site)
|
@site.phone_verification_required = true if self.class.production? && BlackBox.phone_verification_required?(@site)
|
||||||
rescue => e
|
rescue => e
|
||||||
EmailWorker.perform_async({
|
EmailWorker.perform_async({
|
||||||
from: 'web@neocities.org',
|
from: 'web@neocities.org',
|
||||||
|
|
|
@ -6,7 +6,9 @@
|
||||||
You're almost ready!<br>
|
You're almost ready!<br>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
We sent an email to <strong><%= current_site.email %></strong> to make sure it's correct.<br>Please check your email, and enter the confirmation code here.
|
We sent an email to <strong><%= current_site.email %></strong> to make sure it's correct.<br>
|
||||||
|
Please check your email, and enter the confirmation code here.<br>
|
||||||
|
If you don't see the email in your inbox, try looking in the spam folder.
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Add table
Reference in a new issue