Skip to content

Commit 057ec6c

Browse files
committed
protect search route from not logged in users
1 parent 936fcd7 commit 057ec6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ const routes = [
105105
},
106106
{
107107
path: '/search',
108-
name: Search,
109108
component: Search,
109+
beforeEnter: notLoggedInRedirectLogin,
110110
},
111111
];
112112

0 commit comments

Comments
 (0)