Style and bug fixes related to active-entry and hipaaAuditLog integration
This commit is contained in:
1 parent
3223da4358
commit
11e300f013
15 files changed
+186
-65
No files matched your search
@@ -0,0 +1,36 @@
|
||||
Meteor.startup(function() {
|
||||
if (Meteor.isClient){
|
||||
ActiveEntry.configure({
|
||||
logo: {
|
||||
url: '/images/logo.png',
|
||||
displayed: true
|
||||
},
|
||||
signIn: {
|
||||
displayFullName: true,
|
||||
destination: '/worklist'
|
||||
},
|
||||
signUp: {
|
||||
destination: '/worklist'
|
||||
},
|
||||
themeColors: {
|
||||
primary: ''
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (Meteor.isServer){
|
||||
Accounts.emailTemplates.siteName = 'AwesomeSite';
|
||||
Accounts.emailTemplates.from = 'AwesomeSite Admin <accounts@example.com>';
|
||||
Accounts.emailTemplates.enrollAccount.subject = function(user) {
|
||||
return 'Welcome to Awesome Town, ' + user.profile.name;
|
||||
};
|
||||
|
||||
Accounts.emailTemplates.enrollAccount.text = function(user, url) {
|
||||
return 'You have been selected to participate in building a better future!'
|
||||
+ ' To activate your account, simply click the link below:\n\n'
|
||||
+ url;
|
||||
};
|
||||
|
||||
process.env.MAIL_URL = 'smtp://sandboxid.mailgun.org:mypassword@smtp.mailgun.org:587';
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user