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
In angular 5 app, how to make landing […]
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