return to test

This commit is contained in:
Karol Wypchlo 2021-02-11 21:55:35 +01:00
parent 8e32e59a09
commit 1a4bedb520
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,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}`,
},
};
}