LAR_Maintenance/app/Http/Controllers/AuthController.php

18 lines
332 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('auth')->only(['logout','root']);
}
}