Why constantly redirects to the login form?

0 like 0 dislike
8 views
Hi all.
Prescribed php artisan make:auth, now doesn't open the main and constantly keep site.ru/login
Index page not open, redirects to authorization. What to do ?
by | 8 views

3 Answers

0 like 0 dislike
Solved the problem yesterday, it was slow because it was late)
Just moved the opening page in a separate controller, because before the opening of the main and authorization was one HomeController, which was middleware, he is not allowed on the main, just moved the opening of the main and it worked as needed
by
0 like 0 dislike
Log.
by
0 like 0 dislike
If you go site.ru and there is a redirect on site.ru/login
This means that you have ['middleware' => 'auth'] is used in a route or group of routes which defines the path to the master page - '/'
by

Related questions

0 like 0 dislike
1 answer
asked May 10, 2019 by AlpineMilk
0 like 0 dislike
1 answer
asked Apr 14, 2019 by Programmir
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Jun 5, 2019 by Leshiy66613
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,866 users