mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
12 lines
445 B
JavaScript
12 lines
445 B
JavaScript
import {Accounts} from 'meteor/accounts-base';
|
|
import {getSetting} from 'meteor/vulcan:core';
|
|
|
|
// the emailTemplates are made available by accounts-password, which we don't want to depend on
|
|
if (Package['accounts-password']) {
|
|
Accounts.emailTemplates.siteName = getSetting('public.title', '');
|
|
Accounts.emailTemplates.from =
|
|
getSetting('public.title', '') +
|
|
' <' +
|
|
getSetting('defaultEmail', 'no-reply@example.com') +
|
|
'>';
|
|
}
|