Skip to content
Snippets Groups Projects
Commit 49da854b authored by Zachary Carter's avatar Zachary Carter
Browse files

add a permanent redirect from /signup to /signin - issue #2277

parent 84425b83
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,11 @@ exports.setup = function(app) {
});
});
app.get("/signup", function(req, res) {
res.header('Location', '/signin');
res.send(301);
});
app.get("/signin", function(req, res) {
renderCachableView(req, res, 'signin.ejs', {title: _('Sign In'), fullpage: false});
});
......
......@@ -56,6 +56,7 @@ function respondsWith(status) {
suite.addBatch({
'GET /': respondsWith(200),
'GET /forgot': respondsWith(200),
'GET /signup': respondsWith(301),
'GET /signin': respondsWith(200),
'GET /about': respondsWith(200),
'GET /tos': respondsWith(200),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment