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)
-
0
hi @ vladsd ,
is it possible to open this as an issue on GitHub?
-
0
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>