Lara_Love's avatar

Every time I enter the site, I have to give a username and password.

Every time I enter the site, I have to give a username and password. To improve the condition of the site, please contact the creator of the site. inform

0 likes
7 replies
Sinnbeck's avatar

Did you try another browser? I have never had this problem on any of my devices

1 like
Lara_Love's avatar

@Sinnbeck it's ok.

I created a new route and when I want to enter it, it redirects me to login. Where does this problem come from?

<a href="{{ route('top') }}" >top</a>   


Route::get('/top', [TopnewsController::class,'top'])->name('top');


public function top()
    {
        $top = Topnews::all();
        return view('front.top', compact('top'));

    }

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@LoverToHelp oh I thought you mean laracasts.com.

That route does not require auth so there must be something you aren't showing

1 like
Lara_Love's avatar

@Sinnbeck You correctly understood the meaning of my first question. :)

Now I came to a new problem in the project, the question was redirected to my own question ;) No, it is only web.php and controller

Lara_Love's avatar

@Tray2 Don't worry, I used to confirm the user password every time I entered the site. Today, I deleted the browser login and entered the site again, it was fixed. Until now, I thought this was a normal thing. I asked today to make sure.

Lara_Love's avatar

I close this question. Follow my new question please.

Please or to participate in this conversation.