From a863da3e4011fffe4a8c407752202f990c16aa64 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Thu, 18 Sep 2025 14:39:47 -0400 Subject: [PATCH] feat: isRedirecting auth --- .../auth/{LoginForm.vue => AuthLoginForm.vue} | 4 --- .../{LogoutForm.vue => AuthLogoutForm.vue} | 4 --- .../app/components/auth/AuthRedirecting.vue | 15 ++++++++ .../themes/ccat/app/composables/useAuth.ts | 35 +++++++++---------- .../themes/ccat/app/pages/connexion.vue | 9 +++-- wp-content/themes/ccat/shared/utils/delay.ts | 3 ++ 6 files changed, 41 insertions(+), 29 deletions(-) rename wp-content/themes/ccat/app/components/auth/{LoginForm.vue => AuthLoginForm.vue} (56%) rename wp-content/themes/ccat/app/components/auth/{LogoutForm.vue => AuthLogoutForm.vue} (69%) create mode 100644 wp-content/themes/ccat/app/components/auth/AuthRedirecting.vue create mode 100644 wp-content/themes/ccat/shared/utils/delay.ts diff --git a/wp-content/themes/ccat/app/components/auth/LoginForm.vue b/wp-content/themes/ccat/app/components/auth/AuthLoginForm.vue similarity index 56% rename from wp-content/themes/ccat/app/components/auth/LoginForm.vue rename to wp-content/themes/ccat/app/components/auth/AuthLoginForm.vue index d9dcb57..8a54043 100644 --- a/wp-content/themes/ccat/app/components/auth/LoginForm.vue +++ b/wp-content/themes/ccat/app/components/auth/AuthLoginForm.vue @@ -1,9 +1,5 @@