refactor: user management

This commit is contained in:
Adam Cooke
2021-07-28 14:17:59 +00:00
parent e9a52e9512
commit daf469ce7f
27 changed files with 106 additions and 359 deletions
-12
View File
@@ -1,12 +0,0 @@
Hello <%= @user.first_name %>,
To verify your e-mail address you will be prompted to enter a code when you login to your Postal account. The code you need to enter is:
<%= @user.email_verification_token %>
Once you've done that, you'll be able to access your account.
Thanks,
<%= Postal.smtp_from_name %>
<%= Postal.smtp_from_address %>
-10
View File
@@ -1,10 +0,0 @@
You've been invited to access the <%= @organization.name %> organization on Postal.
To accept this invitation, please click the link below to create an account or login to an existing one.
<%= Postal.host_with_protocol %>/join/<%= @user_invite.uuid %>
Thanks,
<%= Postal.smtp_from_name %>
<%= Postal.smtp_from_address %>
@@ -1,14 +0,0 @@
Hi <%= @user.first_name %>,
You've just changed the e-mail address on your Postal account. So that we can verify that you own the new address you've entered, we need you to enter the code below into the box shown in your web browser.
<%= @user.email_verification_token %>
If you don't have a box on your screen, just login to your Postal account to continue.
<%= Postal.host_with_protocol %>/login
Thanks,
<%= Postal.smtp_from_name %>
<%= Postal.smtp_from_address %>