Showing 1 – 1 of 1 replies
Selva

In angular 5 app, how to make landing […]

Selva PURCHASED
5 years ago
In angular 5 app, how to make landing page as a login page instead of dashboard page
themicon
themicon SELLER
5 years ago
Hi, you can set the login page as the default page instead of dashboard but it would be better to use Route Guards, which allows to check of a user if it's registered before accessing a secure route, and if not loggedin, you will redirect to login.
You can find information about guards here: https://angular.io/guide/router#guard-the-admin-feature

Let us know if you have any question
Regards