Skip to content

Commit

Permalink
from home bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rp825 committed Jul 14, 2016
1 parent e86aa05 commit a6f7a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = function(express,envVariables) {
signed_out: req.query.expired,
info: req.flash('info'),
email: req.session.email,
back_link: req.query.from ? envVariables.applicationServiceURL + req.query.from : '/api/user/usercheck',
back_link: req.query.from ? envVariables.applicationServiceURL + req.query.from == "home" ? '' : req.query.from : '/api/user/usercheck',
applicationServiceURL: envVariables.applicationServiceURL,
qs: req.query
});
Expand Down

0 comments on commit a6f7a4e

Please # to comment.