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,4 +1,4 @@
<p>Hello <%= @email %>!</p>
<p>Hello <%= @resource.cn %>!</p>
<% if @resource.try(:unconfirmed_email?) %>
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>