LAR_Maintenance/app/Http/Controllers/AuthController.php
Jonatan Rek 881c89bfc1 Fixes
2024-09-10 15:17:13 +02:00

19 lines
373 B
PHP

<?php
namespace App\Http\Controllers;
use SteelAnts\LaravelAuth\Traits\Authentication;
class AuthController extends Controller
{
use Authentication;
protected string $redirectTo = "maintenance.planned";
public function __construct()
{
$this->middleware('guest')->except('logout');
$this->middleware('auth')->only('logout');
}
}