refactor(pages): add auth middleware to registration page
This commit is contained in:
parent
911a8775bb
commit
8747d6b604
@ -21,6 +21,7 @@
|
|||||||
unauthenticatedOnly: true,
|
unauthenticatedOnly: true,
|
||||||
navigateAuthenticatedTo: "/",
|
navigateAuthenticatedTo: "/",
|
||||||
},
|
},
|
||||||
|
middleware: ["auth"],
|
||||||
});
|
});
|
||||||
// const { execute } = useChallengeV3('submit');
|
// const { execute } = useChallengeV3('submit');
|
||||||
const vschema = yup.object<FormState>().shape({
|
const vschema = yup.object<FormState>().shape({
|
||||||
|
Loading…
Reference in New Issue
Block a user