fix for verify, ask to check spam folder in email confirm

This commit is contained in:
Kyle Drake 2023-11-11 10:07:01 -06:00
parent aad6546631
commit 2e1a8af30d
2 changed files with 4 additions and 2 deletions

View file

@ -101,7 +101,7 @@ post '/create' do
@site.phone_confirmed = true if self.class.development?
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
EmailWorker.perform_async({
from: 'web@neocities.org',

View file

@ -6,7 +6,9 @@
You're almost ready!<br>
<% 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>
<div class="row">