0
FarReach created
We have an initial v3.4 ASP.NET Zero solution created using ASP.NET Core and Angular. How do we modify the dashboard or create a new view that does not require the user to authenticate? The only views that will require authentication are the admin views.
Thanks.
1 Answer(s)
-
0
Hi,
This line requires authentication for app module and it's children modules and related views. See <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/angular/src/app/app-routing.module.ts#L13">https://github.com/aspnetzero/aspnet-ze ... ule.ts#L13</a>.
You can either move it to child module routing definitions or you can modify AppRouteGuard according to your needs.
Thanks.
Have an answer to this question?
Log in
and write your answer.