This commit is contained in:
Jonatan Rek 2024-09-10 15:31:16 +02:00
parent 881c89bfc1
commit 0ed83d7bc2
1 changed files with 1 additions and 4 deletions

View File

@ -7,12 +7,9 @@ use SteelAnts\LaravelAuth\Traits\Authentication;
class AuthController extends Controller class AuthController extends Controller
{ {
use Authentication; use Authentication;
protected string $redirectTo = "maintenance.planned";
public function __construct() public function __construct()
{ {
$this->middleware('guest')->except('logout'); $this->middleware('auth')->only(['logout','root']);
$this->middleware('auth')->only('logout');
} }
} }