From 8747d6b604ab0f060ab52c2c4c15ca523f697d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Sat, 16 Mar 2024 21:05:37 -0400 Subject: [PATCH] refactor(pages): add auth middleware to registration page --- pages/auth/register.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/auth/register.vue b/pages/auth/register.vue index c3602f2..de5fe0f 100644 --- a/pages/auth/register.vue +++ b/pages/auth/register.vue @@ -21,6 +21,7 @@ unauthenticatedOnly: true, navigateAuthenticatedTo: "/", }, + middleware: ["auth"], }); // const { execute } = useChallengeV3('submit'); const vschema = yup.object().shape({