Packages

Adds helpful extras to Guardian like default mailer support, as well as out of the box controllers and routes

Current section

Files

Jump to
sentinel lib sentinel templates email invite.html.eex
Raw

lib/sentinel/templates/email/invite.html.eex

<p>Hello <%= @user.email %>!</p>
<p>You've been invited to <%= Application.get_env(:sentinel, :app_name) %></p>
<% if Sentinel.RouterHelper.configured? do %>
<p>
<a href="<%= Sentinel.RouterHelper.helpers.user_url(Sentinel.RouterHelper.endpoint, :invited) %>?password_reset_token=<%= @password_reset_token %>&confirmation_token=<%= @confirmation_token %>">
Click here to setup your account
</a>
</p>
<% end %>