Evooms123's avatar

Can't access to certain page from my website using Laravel and Authentification

Hello,

I hope you are well. I have a site under Laravel using the OVH cloud web. I connect in FTP in order to update a file (the web.php file). I had put a middleware on some routes but I removed them in ftp. I return to my site but it still asks me to log in. So I tried it locally and this change works fine.

I'm using the Breeze framework.

Here is an example of what I had in route.php : Route::group(['prefix' => 'test', 'middleware' => 'auth'], function(){

So I removed the 2nd part, which gives: Route::group(['prefix' => 'test'], function(){

But it still doesn't work. Do you know if there is another place where I could indicate that an authentication is required in order to go to the page please (I used to do this website 5 months ago, I don't remember where the other change are, if needed) ?

Cordially

0 likes
1 reply
Snapey's avatar

in the constructor of the controller.

Really, ftp copy of individual files to the server is not the right way to proceed

Please or to participate in this conversation.