diff --git a/app/controllers/users/users.password.server.controller.js b/app/controllers/users/users.password.server.controller.js index 83a0ed8c..8b70d664 100755 --- a/app/controllers/users/users.password.server.controller.js +++ b/app/controllers/users/users.password.server.controller.js @@ -60,7 +60,7 @@ exports.forgot = function(req, res, next) { res.render('templates/reset-password-email', { name: user.displayName, appName: config.app.title, - url: req.protocol+'://' + req.hostname + '/#!/auth/reset/' + token + url: req.protocol+'://' + req.headers.host + '/#!/auth/reset/' + token }, function(err, emailHTML) { done(err, emailHTML, user); }); @@ -103,10 +103,10 @@ exports.validateResetToken = function(req, res) { } }, function(err, user) { if (!user) { - return res.redirect('/#!/password/reset/invalid'); + return res.redirect('/#!/auth/reset/invalid'); } - res.redirect('/#!/password/reset/' + req.params.token); + res.redirect('/#!/auth/reset/' + req.params.token); }); }; diff --git a/public/modules/core/views/home.client.view.html b/public/modules/core/views/home.client.view.html index 2c7e6406..c35fb7b1 100755 --- a/public/modules/core/views/home.client.view.html +++ b/public/modules/core/views/home.client.view.html @@ -4,7 +4,7 @@
-
+
  or  diff --git a/public/modules/users/views/password/reset-password-invalid.client.view.html b/public/modules/users/views/password/reset-password-invalid.client.view.html index d5fc2373..946f95ec 100755 --- a/public/modules/users/views/password/reset-password-invalid.client.view.html +++ b/public/modules/users/views/password/reset-password-invalid.client.view.html @@ -1,4 +1,4 @@

Password reset is invalid

- Ask for a new password reset + Ask for a new password reset
\ No newline at end of file