mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +02:00
Allow users to update their email address (#1745)
* Change email address * Email confirmation * Email change test * Lint * Schema reset * Set test email sender * Select specific user fixture * Refactor/cleanup * Remove unused email_confirmation_token * Current user would never be true * Fix translation test failures
This commit is contained in:
parent
46e86a9a11
commit
41873de11d
28 changed files with 225 additions and 15 deletions
|
@ -0,0 +1,7 @@
|
|||
<h1><%= t(".greeting") %></h1>
|
||||
|
||||
<p><%= t(".body") %></p>
|
||||
|
||||
<%= link_to @cta, @confirmation_url, class: "button" %>
|
||||
|
||||
<p class="footer"><%= t(".expiry_notice", hours: 24) %></p>
|
|
@ -0,0 +1,9 @@
|
|||
EmailConfirmation#confirmation_email
|
||||
|
||||
<%= t(".greeting") %>
|
||||
|
||||
<%= t(".body") %>
|
||||
|
||||
<%= t(".cta") %>: <%= @confirmation_url %>
|
||||
|
||||
<%= t(".expiry_notice", hours: 24) %>
|
Loading…
Add table
Add a link
Reference in a new issue