nylo-core / nylo

Nylo is the fastest way to build your next Flutter mobile app. Streamline your projects with Nylo's opinionated approach to building Flutter apps. Develop your next idea ⚡️
https://nylo.dev
MIT License
597 stars 61 forks source link

Router AuthPage false issue #136

Closed jitendravn closed 6 months ago

jitendravn commented 6 months ago
  router.route(
        LoginPage.path,
        (context) => LoginPage(),
        transition: PageTransitionType.fade,
        authPage: false,
      );

Login page is not auth page but still i can redirected to LoginPage, even if AuthPage is false

agordn52 commented 6 months ago

Hi @jitendravn,

authPage is used to define the initial page if the user is authenticated in your application. Check out the docs to learn more https://nylo.dev/docs/5.20.0/authentication