diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/accounts.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/config/accounts.js b/config/accounts.js index 279325fb..e7faa4cd 100644 --- a/config/accounts.js +++ b/config/accounts.js @@ -16,17 +16,12 @@ AccountsTemplates.addFields([{ template: 'invitationCode', }]); -let sendVerificationEmail = false; -if (process.env.MAIL_URL) { - sendVerificationEmail = true; -} - AccountsTemplates.configure({ defaultLayout: 'userFormsLayout', defaultContentRegion: 'content', confirmPassword: false, enablePasswordChange: true, - sendVerificationEmail, + sendVerificationEmail: true, showForgotPasswordLink: true, onLogoutHook() { const homePage = 'home'; |