Ngx-admin: Login page before enter into Admin Dashboard

Created on 11 Mar 2019  路  6Comments  路  Source: akveo/ngx-admin

Issue type

Unable to find lode for Login and Signup

I'm submitting a ... (check one with "x")

  • [ ] bug report
  • [ ] feature request
  • [x] 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

needs info question

All 6 comments

Hi @venukommu!
You can use auth guards to prevent accessing routes for unauthenticated users. See guide for details.

Contact me on Skype: lms_ict

I can fix it for you.

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.

@venukommu Hi, I'm having the same issue, what template are you using now?

@iecorp Hi, There are many free templates which you can use. I use one template from Creative Tim's templates.

Hello there, Can anyone help?
I am having the same issue. Will anyone be willing to help?

Update

I got it to work. The dummy token was stored in my browser's local storage. I cleared it and it worked!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xandatspain picture xandatspain  路  3Comments

tal-shahar picture tal-shahar  路  3Comments

pulfabio picture pulfabio  路  4Comments

Kalaijagdai picture Kalaijagdai  路  4Comments

queirozfcom picture queirozfcom  路  4Comments