return to test

This commit is contained in:
Karol Wypchlo 2021-02-11 22:00:23 +01:00
parent 56757f2b11
commit 1e52938e51
1 changed files with 1 additions and 1 deletions

View File

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