Skip to content

Commit 31e0346

Browse files
committed
update router.md
1 parent 19ba910 commit 31e0346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/docs/6.x/router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class DashboardRouteGuard extends NyRouteGuard {
224224
@override
225225
onRequest(PageRequest pageRequest) async {
226226
// Perform a check if they can access the page
227-
bool userLoggedIn = await Auth.loggedIn();
227+
bool userLoggedIn = await Auth.isAuthenticated();
228228
229229
if (userLoggedIn == false) {
230230
return redirectTo(LoginPage.path);

0 commit comments

Comments
 (0)