settings
This commit is contained in:
parent
6cbe8323d4
commit
e7f10a2830
|
@ -33,6 +33,7 @@ export async function getServerSideProps(context) {
|
||||||
throw new Error(`Failed to retrieve flow ${flow} with code ${status}`);
|
throw new Error(`Failed to retrieve flow ${flow} with code ${status}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return {
|
return {
|
||||||
|
error,
|
||||||
// redirect: {
|
// redirect: {
|
||||||
// permanent: false,
|
// permanent: false,
|
||||||
// destination: `${config.kratos.browser}/self-service/settings/browser`,
|
// destination: `${config.kratos.browser}/self-service/settings/browser`,
|
||||||
|
@ -52,8 +53,9 @@ export async function getServerSideProps(context) {
|
||||||
// },
|
// },
|
||||||
// };
|
// };
|
||||||
|
|
||||||
export default function Settings({ flow }) {
|
export default function Settings({ flow, error }) {
|
||||||
console.log(flow);
|
console.log("flow", flow);
|
||||||
|
console.log("error", error);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
// const fields = flow.methods.link.config.fields
|
// const fields = flow.methods.link.config.fields
|
||||||
|
|
Reference in New Issue