This commit is contained in:
Jonatan Rek 2024-09-10 15:31:16 +02:00
parent 881c89bfc1
commit 0ed83d7bc2

View File

@ -8,11 +8,8 @@ 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');
} }
} }