Login page before enter into Admin Dashboard
See original GitHub issueIssue type
Unable to find lode for Login and Signup
I’m submitting a … (check one with “x”)
- bug report
- feature request
- question about the decisions made in the repository
Issue description
I can see the login under Auth in the dashboard, but not able to find the code code Login and Signup components. When i search, it is showing the code in mode_modules. I don’t think we update that code.
Current behavior:
I can see the login page in the admin dashboard, but not as home page before we access the admin dashboard.
Expected behavior:
I would like to load the Login and Signup page before we give an access to the Dashboard. Once user signed in successfully, then we should redirect to the Dashboard. I have followed many articles, but didn’t find the exact solution.
Steps to reproduce:
Related code:
insert short code snippets here
Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->
NPM - 6.4.1 Node - v10.15.1 Chrome - 72.0.3626.121 Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
ngx-admin - 2.0.0 Nebular - 3.1.0 Angular - 7.0.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
Thank you @Prefix1802 for your kind help. Actually i have moved to a different template since we were blocked and unable to fix this issue after long effort. But definitely i contact you when we get some time to look into it since we liked this template very much.
Hi @venukommu! You can use auth guards to prevent accessing routes for unauthenticated users. See guide for details.