about summary refs log tree commit diff
path: root/app/views/auth/mailer
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:38:22 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:51:00 +0200
commitfc198a8b4ca6d22eaedee2cfb03e088432dc4b30 (patch)
treecc57ecb76638deb4b9cafd80e0c14911e4f419c6 /app/views/auth/mailer
parentb3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (diff)
Adding e-mail confirmations
Diffstat (limited to 'app/views/auth/mailer')
-rw-r--r--app/views/auth/mailer/confirmation_instructions.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/auth/mailer/confirmation_instructions.html.erb b/app/views/auth/mailer/confirmation_instructions.html.erb
new file mode 100644
index 000000000..ef17b288f
--- /dev/null
+++ b/app/views/auth/mailer/confirmation_instructions.html.erb
@@ -0,0 +1,5 @@
+<p>Welcome <%= @resource.email %>!</p>
+
+<p>You can confirm your account email through the link below:</p>
+
+<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>