From bee6fabcfaefa2fb23e012d75310455e3c79330e Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 14 May 2025 11:30:40 +0200
Subject: [PATCH] fix: protect slots route
---
frontend/src/app/app.routes.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts
index 7958ffb..a22eec9 100644
--- a/frontend/src/app/app.routes.ts
+++ b/frontend/src/app/app.routes.ts
@@ -30,6 +30,7 @@ export const routes: Routes = [
{
path: 'game/slots',
loadComponent: () => import('./feature/game/slots/slots.component'),
+ canActivate: [authGuard]
},
{
path: 'game/lootboxes',