18 lines
332 B
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']);
|
|
}
|
|
}
|