We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ba910 commit 31e0346Copy full SHA for 31e0346
resources/docs/6.x/router.md
@@ -224,7 +224,7 @@ class DashboardRouteGuard extends NyRouteGuard {
224
@override
225
onRequest(PageRequest pageRequest) async {
226
// Perform a check if they can access the page
227
- bool userLoggedIn = await Auth.loggedIn();
+ bool userLoggedIn = await Auth.isAuthenticated();
228
229
if (userLoggedIn == false) {
230
return redirectTo(LoginPage.path);
0 commit comments