Use username instead of email in Devise mails

This commit is contained in:
Râu Cao
2023-05-25 16:56:40 +02:00
parent 7b321577db
commit 33a9e1eaa9
5 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<p>Welcome <%= @email %>!</p>
<p>Welcome <%= @resource.cn %>!</p>
<p>You can confirm your account email through the link below:</p>
<p>Please confirm your email address through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>