Fixes
This commit is contained in:
parent
79cb5ceb19
commit
881c89bfc1
@ -4,10 +4,15 @@
|
||||
|
||||
use SteelAnts\LaravelAuth\Traits\Authentication;
|
||||
|
||||
|
||||
class AuthController
|
||||
class AuthController extends Controller
|
||||
{
|
||||
use Authentication;
|
||||
|
||||
protected string $redirectTo = "maintenance.planned";
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest')->except('logout');
|
||||
$this->middleware('auth')->only('logout');
|
||||
}
|
||||
}
|
||||
|
@ -44,6 +44,7 @@ public function handle(): void
|
||||
'start_at' => $nextRunTime,
|
||||
'guestor_id' => $maintenance->guestor_id,
|
||||
]);
|
||||
|
||||
$maintenancePlanned->refresh();
|
||||
|
||||
$hosts = $maintenance->hosts;
|
||||
|
557
composer.lock
generated
557
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user