How to prevent showing login page after user logged and hit browser back button?

How to prevent showing login page after user logged and hit browser back button?

In this article, you will get to prevent showing the login page after the User logged and hits the browser back button.

There are other tricks too but in my case, this code works properly. Hope this will work fine for you

Route::get('/', ['middleware' => 'guest', function () {
    return view('languages');
}]);




Copyright © 2020-2021 Engineer Jagat All rights reserved. Developed by Ravindra Rana