summaryrefslogtreecommitdiff
path: root/resources/views/emails
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-12-21 21:16:49 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-12-21 21:16:49 +0000
commitd57fbc010dfdabfc1d0bde3ff8124ead6d490ae3 (patch)
treebf722efda509c9ec7455a5d29f615620d5e7644b /resources/views/emails
parent1f27323613832d6e17391bc83f562580cbdf0ac4 (diff)
downloadwebtrees-d57fbc010dfdabfc1d0bde3ff8124ead6d490ae3.tar.gz
webtrees-d57fbc010dfdabfc1d0bde3ff8124ead6d490ae3.tar.bz2
webtrees-d57fbc010dfdabfc1d0bde3ff8124ead6d490ae3.zip
Fix: missing confirmation email after approving a new user
Diffstat (limited to 'resources/views/emails')
-rw-r--r--resources/views/emails/approve-user-html.phtml2
-rw-r--r--resources/views/emails/approve-user-text.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/emails/approve-user-html.phtml b/resources/views/emails/approve-user-html.phtml
index 1b2ce09e20..ed1734defc 100644
--- a/resources/views/emails/approve-user-html.phtml
+++ b/resources/views/emails/approve-user-html.phtml
@@ -4,5 +4,5 @@
</p>
<p>
- <?= I18N::translate('The administrator at the webtrees site %s has approved your application for an account. You may now sign in by accessing the following link: %s', e(WT_BASE_URL), e(WT_BASE_URL)) ?>
+ <?= I18N::translate('The administrator at the webtrees site %s has approved your application for an account. You may now sign in by accessing the following link: %s', e($site_url), e($site_url)) ?>
</p>
diff --git a/resources/views/emails/approve-user-text.phtml b/resources/views/emails/approve-user-text.phtml
index fdb72105c7..b2c17e4abb 100644
--- a/resources/views/emails/approve-user-text.phtml
+++ b/resources/views/emails/approve-user-text.phtml
@@ -1,4 +1,4 @@
<?php use Fisharebest\Webtrees\I18N; ?>
?= I18N::translate('Hello %s…', e($user->getRealName())) ?>
-<?= I18N::translate('The administrator at the webtrees site %s has approved your application for an account. You may now sign in by accessing the following link: %s', WT_BASE_URL, WT_BASE_URL) ?>
+<?= I18N::translate('The administrator at the webtrees site %s has approved your application for an account. You may now sign in by accessing the following link: %s', $site_url, $site_url) ?>