diff --git a/app/controllers/users/users.authentication.server.controller.js b/app/controllers/users/users.authentication.server.controller.js
index 3cb5974e..ccdc68fa 100755
--- a/app/controllers/users/users.authentication.server.controller.js
+++ b/app/controllers/users/users.authentication.server.controller.js
@@ -20,6 +20,7 @@ var config_nev = function () {
var User = require('../../models/user.server.model');
+
nev.configure({
persistentUserModel: User,
tempUserCollection: config.tempUserCollection,
@@ -30,7 +31,7 @@ var config_nev = function () {
verifyMailOptions: {
from: config.mailer.from,
subject: 'Confirm your account',
- html: '
Please verify your account by clicking this link. If you are unable to do so, copy and ' +
+ html: '
Please verify your account by clicking this link. If you are unable to do so, copy and ' +
'paste the following link into your browser:
${URL}
',
text: 'Please verify your account by clicking the following link, or by copying and pasting it into your browser: ${URL}'
},
@@ -86,7 +87,6 @@ exports.resendVerificationEmail = function(req, res, next){
}
if (userFound){
- console.log('hello');
res.status(200).send('Verification email successfully Re-Sent');
}else {
// user hasn't been found yet
diff --git a/app/views/templates/verify-account-email.server.view.html b/app/views/templates/verify-account-email.server.view.html
index 9ad68168..5611ec4c 100644
--- a/app/views/templates/verify-account-email.server.view.html
+++ b/app/views/templates/verify-account-email.server.view.html
@@ -1,18 +1,71 @@
-
-
-
-
-
-
Dear {{name}},
-
-
- You have just created a new account at {{appName}}. To use your account you must activate it.s
-
-
Please visit this url to activate your account:
-
{{url}}
- If you didn't make this request, you can ignore this email.
-
-
-
The {{appName}} Support Team
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ //- -----------------------------------------------------------------------------------
+ //- Only Edit Here
+ //- -----------------------------------------------------------------------------------
+ p Hello {{name}}!
+ p
+ | Welcome to {{appName}}! Here is a special link to activate your new account:
+ p
+ a(href='${URL}') Activate my account
+ p
+ | Thanks so much for using our services! If you have any questions, or suggestions, please feel free to email us here at
+ a(href='mailto:{{contactEmail}}') {{contactEmail}}
+ | .
+ p - The {{appName}} team
+ //- ----------------------------------------------------------------------------------
+
+