php - Laravel 5.4 logout redirection -
in laravel 5.4, file location of "auth" middleware can change default redirect path after logout?
here, i'm using code in homecontroller.php -
public function __construct() { $this->middleware('auth'); } now, want customize "auth" middleware. don't find location.
class : app/http/controllers/auth/authcontroller.php
add below property class
protected $redirectafterlogout = 'auth/new_redirect';
Comments
Post a Comment