diff --git a/utils/capture-login-success.js b/utils/capture-login-success.js index 956ed462..aa19e675 100644 --- a/utils/capture-login-success.js +++ b/utils/capture-login-success.js @@ -33,7 +33,7 @@ const payload = (fields, { port, hostname }, redirectUrl) => new Promise((resolv resolve(results); }); } else { - res.writeHead(301, { Location: redirectUrl }); + res.writeHead(302, { Location: redirectUrl }); res.end(); } } catch (e) {