Skip to content

Commit

Permalink
note about whitelisting on various devise things
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Dec 20, 2024
1 parent 9ebf7de commit 2f98202
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/views/devise/confirmations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<%= f.input :login, :required => true, :autofocus => true, as: :string %>
</div>

<div style="margin-top: 10px;">If you don't receive the email, <span class="bold brightpurple">check your SPAM folder!</span> And if it's not in there, then contact us.</div>
<div style="margin-top: 10px;">If you don't receive the email, whitelist [email protected] and try again, and <span class="bold brightpurple">check your spam folder</span>.</div>

<div class="form-actions confirmation">
<%= f.button :submit, "Submit" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/passwords/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<%= f.input :login, :required => true, :autofocus => true, as: :string %>
</div>

<div style="margin-top: 10px;">If you don't receive the email, <span class="bold brightpurple">check your SPAM folder!</span> And if it's not in there, then contact us.</div>
<div style="margin-top: 10px;">If you don't receive the email, whitelist [email protected] and try again, and <span class="bold brightpurple">check your spam folder</span>.</div>

<div class="form-actions reset-password">
<%= f.button :submit, "Submit" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="red">Security Question (required)</p>
<%= f.input :security_test, label: "What are we mapping on this site?" %>
</div>
<div style="margin-top: 10px;">If you don't receive a confirmation email, <span class="bold brightpurple">check your SPAM folder!</span> And if it's not in there, then contact us.</div>
<div style="margin-top: 10px;">If you don't receive the email, whitelist [email protected] and try again, and <span class="bold brightpurple">check your spam folder</span>.</div>
<div class="form-actions">
<%= f.button :submit, "Submit" %>
</div>
Expand Down
8 changes: 4 additions & 4 deletions config/locales/devise.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ en:
signed_in: 'Signed in successfully.'
signed_out: 'Signed out successfully.'
passwords:
send_instructions: 'Please check your email for the reset link. If you do not see it, check your SPAM folder!'
send_instructions: 'Please check your email for the reset link. If you do not see it, check your SPAM folder! Make sure that [email protected] is whitelisted.'
updated: 'Your password was changed successfully.'
confirmations:
send_instructions: 'Please check your email and confirm your account. If you do not see it, check your SPAM folder!'
send_instructions: 'Please check your email and confirm your account. If you do not see it, check your SPAM folder! Make sure that [email protected] is whitelisted.'
confirmed: 'Your account was successfully confirmed.'
registrations:
signed_up: 'You have signed up successfully. A confirmation email is being sent. If you do not see it, check your SPAM folder!'
signed_up: 'You have signed up successfully. A confirmation email is being sent. If you do not see it, check your SPAM folder! Make sure that [email protected] is whitelisted.'
updated: 'You updated your account successfully.'
destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.'
signed_up_but_unconfirmed: "Please confirm your account. A link has been emailed to you."
unlocks:
send_instructions: 'Instructions have been sent to your email. If you do not see it, check your SPAM folder!'
send_instructions: 'Instructions have been sent to your email. If you do not see it, check your SPAM folder! Make sure that [email protected] is whitelisted.'
unlocked: 'Your account was successfully unlocked.'
mailer:
confirmation_instructions:
Expand Down

0 comments on commit 2f98202

Please sign in to comment.