return to test
This commit is contained in:
parent
56757f2b11
commit
1e52938e51
|
@ -21,7 +21,7 @@ export async function getServerSideProps(context) {
|
||||||
return {
|
return {
|
||||||
redirect: {
|
redirect: {
|
||||||
permanent: false,
|
permanent: false,
|
||||||
destination: `${config.kratos.browser}/self-service/login/browser`,
|
destination: `${config.kratos.browser}/self-service/login/browser?return_to=${context.query.return_to}`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue