LAR_Maintenance/app/Http/Controllers/AuthController.php

18 lines
332 B
PHP
Raw Normal View History

2024-07-30 08:44:45 +00:00
<?php
namespace App\Http\Controllers;
use SteelAnts\LaravelAuth\Traits\Authentication;
2024-09-10 13:17:13 +00:00
class AuthController extends Controller
2024-07-30 08:44:45 +00:00
{
use Authentication;
2024-09-10 13:17:13 +00:00
2024-09-10 13:33:34 +00:00
protected string $redirectTo = "maintenance.planned";
2024-09-10 13:17:13 +00:00
public function __construct()
{
2024-09-10 13:31:16 +00:00
$this->middleware('auth')->only(['logout','root']);
2024-09-10 13:17:13 +00:00
}
2024-07-30 08:44:45 +00:00
}