Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

angular routes issue #4851


User avatar
0
vladsd created

If user logged in and redirect to dashboard, I can still go back and open login link like this <a class="postlink" href="http://localhost:4200/account/login">http://localhost:4200/account/login</a> and it will ask me to login again. Account route should check if user logged in and route to dashboard.

Also default route for account should be login, for example, if user types <a class="postlink" href="http://localhost:4200/account">http://localhost:4200/account</a> - it shows nothing, as no route found, since default is not setup


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi @ vladsd ,

    is it possible to open this as an issue on GitHub?

  • User Avatar
    0
    vladsd created

    Here you go <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/924">https://github.com/aspnetzero/aspnet-ze ... issues/924</a>