question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login page before enter into Admin Dashboard

See original GitHub issue

Issue 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:open
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
venukommucommented, May 20, 2019

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.

1reaction
ygggcommented, Mar 18, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Login View To Admin Panel - YouTube
In this video tutorial, I will show you how to add login view to the admin panel and then apply the styling.
Read more >
How to Login to Your WordPress Site Admin Dashboard
In this video tutorial, Envato Tuts+'s Adi Purdila shows you how to login to your WordPress site admin dashboard.
Read more >
How to Login to the WordPress Dashboard | InMotion Hosting
In order to access the admin for WordPress.com accounts, you would go to WordPress.com and then login. I can tell it's a WordPress.com...
Read more >
How to Force a Login Before Visitors Access WordPress and ...
Forcing users to login gives you the ability to hide your WordPress website ... by heading over to the Plugins page inside your...
Read more >
How to Log in to Your WordPress Site's Admin Dashboard
You chose these when you created your website. WordPress login screen. If you want to avoid entering your username and password every time...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found