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

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