use devise instead auth0
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<p><%= t('.greeting', recipient: @email) %></p>
|
||||
|
||||
<p><%= t('.instruction') %></p>
|
||||
|
||||
<p><%= link_to t('.action'), confirmation_url(@resource, confirmation_token: @token) %></p>
|
||||
7
app/views/devise/mailer/email_changed.html.erb
Normal file
7
app/views/devise/mailer/email_changed.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<p><%= t('.greeting', recipient: @email) %></p>
|
||||
|
||||
<% if @resource.try(:unconfirmed_email?) %>
|
||||
<p><%= t('.message_unconfirmed', email: @resource.unconfirmed_email) %></p>
|
||||
<% else %>
|
||||
<p><%= t('.message', email: @resource.email) %></p>
|
||||
<% end %>
|
||||
3
app/views/devise/mailer/password_change.html.erb
Normal file
3
app/views/devise/mailer/password_change.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<p><%= t('.greeting', recipient: @resource.email) %></p>
|
||||
|
||||
<p><%= t('.message') %></p>
|
||||
@@ -0,0 +1,8 @@
|
||||
<p><%= t('.greeting', recipient: @resource.email) %></p>
|
||||
|
||||
<p><%= t('.instruction') %></p>
|
||||
|
||||
<p><%= link_to t('.action'), edit_password_url(@resource, reset_password_token: @token) %></p>
|
||||
|
||||
<p><%= t('.instruction_2') %></p>
|
||||
<p><%= t('.instruction_3') %></p>
|
||||
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<p><%= t('.greeting', recipient: @resource.email) %></p>
|
||||
|
||||
<p><%= t('.message') %></p>
|
||||
|
||||
<p><%= t('.instruction') %></p>
|
||||
|
||||
<p><%= link_to t('.action'), unlock_url(@resource, unlock_token: @token) %></p>
|
||||
Reference in New Issue
Block a user