fix: Update brand name in mailers (#4123)

This commit is contained in:
Pranav Raj S
2022-03-08 09:22:57 +05:30
committed by GitHub
parent 96b719017b
commit 1aa7d6f7d8
2 changed files with 12 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<% account_user = @resource&.account_users&.first %>
<% if account_user&.inviter.present? && @resource.unconfirmed_email.blank? %>
<p><%= account_user.inviter.name %>, with <%= account_user.account.name %>, has invited you to try out Chatwoot! </p>
<p><%= account_user.inviter.name %>, with <%= account_user.account.name %>, has invited you to try out <%= global_config['BRAND_NAME'] || 'Chatwoot' %>! </p>
<% end %>
<p>You can confirm your account email through the link below:</p>
@@ -11,4 +11,4 @@
<p><%= link_to 'Confirm my account', frontend_url('auth/password/edit', reset_password_token: @resource.send(:set_reset_password_token)) %></p>
<% else %>
<p><%= link_to 'Confirm my account', frontend_url('auth/confirmation', confirmation_token: @token) %></p>
<% end %>
<% end %>