Login router problem
See original GitHub issueHi
i want to route login page for opening page. How can make it ? i change router but return empty page. can you help me ?
<HashRouter>
<Switch>
<Route exact path="/register" name="Register Page" component={Register} />
<Route exact path="/404" name="Page 404" component={Page404} />
<Route exact path="/500" name="Page 500" component={Page500} />
<Route path="/home" name="Home" component={DefaultLayout} />
<Route path="/login" name="Login Page" component={Login} />
</Switch>
</HashRouter>
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
I can't access my router; what do I do? - NETGEAR Support
After factory resetting your router, log in in to your router using the default user name and password. · Click ADVANCED. · Under...
Read more >How to Fix the 192.168.1.1 and Get Logged Into Your Router
Having Trouble Reaching the Routerlogin Page? · A hardwired connection configuration issue (such as a bad Ethernet cable) · Entering the IP ...
Read more >Having trouble and can't access router page? Here's the fix
What can I do if I still can't access the router page? · Hit the Windows key and click on Settings. · Select...
Read more >I can't access my wireless router admin page. What could be ...
If you are having trouble accessing your wireless router's admin page, there could be a few different reasons for this. One possibility is...
Read more >Fix: Routerlogin.net not Working (Netgear) - Appuals.com
Solution 1: Restart the Router and System · Solution 2: Use a Different Connection Mode · Solution 3: Use the Router's IP Address...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @aolmez ,
Are you making it required for people to login before they can see contents in DefaultLayout component ?
If so, here’s some code:
I hope it helps.
Thanks so much for this! @jeff-nz - would you advise to make all the non protected
Route
becomeUnauthenticatedRoute
as such in this scenario? To illustrate: