-
+
Training Reports
@@ -117,7 +117,15 @@ onMounted(async () => {
diff --git a/ui/src/router/index.js b/ui/src/router/index.js
index acfce65..5fb1c80 100644
--- a/ui/src/router/index.js
+++ b/ui/src/router/index.js
@@ -46,13 +46,13 @@ router.beforeEach(async (to) => {
await user.loadUser();
}
- // Not logged in
- if (to.meta.requiresAuth && !user.isLoggedIn) {
- // Redirect back to original page after login
- const redirectUrl = encodeURIComponent(window.location.origin + to.fullPath)
- window.location.href = `https://aj17thdevapi.nexuszone.net/login?redirect=${redirectUrl}`
- return false // Prevent Vue Router from continuing
- }
+ // // Not logged in
+ // if (to.meta.requiresAuth && !user.isLoggedIn) {
+ // // Redirect back to original page after login
+ // const redirectUrl = encodeURIComponent(window.location.origin + to.fullPath)
+ // window.location.href = `https://aj17thdevapi.nexuszone.net/login?redirect=${redirectUrl}`
+ // return false // Prevent Vue Router from continuing
+ // }
// // Must be a member