users: mention needing a non-disposable email to verify account.

This commit is contained in:
evazion
2020-08-08 15:23:49 -05:00
parent 3210da1a23
commit 0e41fef011

View File

@@ -4,18 +4,22 @@
<% page_title "Change Email" %> <% page_title "Change Email" %>
<h1>Change Email</h1> <h1>Change Email</h1>
<p>Your current email address is <strong><%= @user.email_address.address %></strong>. You must re-enter your password in order to update your email address.</p> <p>Your current email address is <strong><%= @user.email_address.address %></strong>.
You must re-enter your password in order to update your email address.</p>
<% else %> <% else %>
<% page_title "Add Email" %> <% page_title "Add Email" %>
<h1>Add Email</h1> <h1>Add Email</h1>
<p>Add a new email address below. You must re-enter your password in order to update your email address.</p> <p>Add a new email address below. You must re-enter your password in
order to update your email address.</p>
<% end %> <% end %>
<% if @user.is_restricted? %> <% if @user.is_restricted? %>
<p>Your account is restricted because you signed up from a VPN or proxy. <p>Your account is restricted because you signed up from a proxy or VPN.
You can still use the site, but you won't be able to leave comments, edit You can still use the site, but you won't be able to leave comments, edit
tags, or upload posts until you add a verified email address to your account.</p> tags, or upload posts until you add a verified email address to your
account. Disposable or throwaway email addresses can't be used to verify
your account.</p>
<% end %> <% end %>
<%= edit_form_for(@user, url: user_email_path(@user)) do |f| %> <%= edit_form_for(@user, url: user_email_path(@user)) do |f| %>