From 1e52938e518d83d643ec8d963a50ca423d371b87 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 11 Feb 2021 22:00:23 +0100 Subject: [PATCH] return to test --- packages/dashboard/src/pages/auth/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/src/pages/auth/login.js b/packages/dashboard/src/pages/auth/login.js index fe283579..da4cb704 100644 --- a/packages/dashboard/src/pages/auth/login.js +++ b/packages/dashboard/src/pages/auth/login.js @@ -21,7 +21,7 @@ export async function getServerSideProps(context) { return { redirect: { permanent: false, - destination: `${config.kratos.browser}/self-service/login/browser`, + destination: `${config.kratos.browser}/self-service/login/browser?return_to=${context.query.return_to}`, }, }; }