LAR_Maintenance/app/Http/Controllers/AuthController.php

19 lines
373 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-08-16 11:28:14 +00:00
protected string $redirectTo = "maintenance.planned";
2024-09-10 13:17:13 +00:00
public function __construct()
{
$this->middleware('guest')->except('logout');
$this->middleware('auth')->only('logout');
}
2024-07-30 08:44:45 +00:00
}