{{ghost-notifications}} diff --git a/core/client/templates/signup.hbs b/core/client/templates/signup.hbs index c1143d6384..37b1337967 100644 --- a/core/client/templates/signup.hbs +++ b/core/client/templates/signup.hbs @@ -1,14 +1,14 @@ diff --git a/core/server/middleware/middleware.js b/core/server/middleware/middleware.js index e0bef78d6b..4ee2fec330 100644 --- a/core/server/middleware/middleware.js +++ b/core/server/middleware/middleware.js @@ -79,6 +79,11 @@ var middleware = { } redirect = '?r=' + encodeURIComponent(reqPath); } + + if (subPath.indexOf('/ember') > -1) { + return res.redirect(config().paths.subdir + '/ghost/ember/signin'); + } + return res.redirect(config().paths.subdir + '/ghost/signin/' + redirect); }); }