Fixes
This commit is contained in:
parent
79cb5ceb19
commit
881c89bfc1
@ -4,10 +4,15 @@
|
|||||||
|
|
||||||
use SteelAnts\LaravelAuth\Traits\Authentication;
|
use SteelAnts\LaravelAuth\Traits\Authentication;
|
||||||
|
|
||||||
|
class AuthController extends Controller
|
||||||
class AuthController
|
|
||||||
{
|
{
|
||||||
use Authentication;
|
use Authentication;
|
||||||
|
|
||||||
protected string $redirectTo = "maintenance.planned";
|
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,
|
'start_at' => $nextRunTime,
|
||||||
'guestor_id' => $maintenance->guestor_id,
|
'guestor_id' => $maintenance->guestor_id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$maintenancePlanned->refresh();
|
$maintenancePlanned->refresh();
|
||||||
|
|
||||||
$hosts = $maintenance->hosts;
|
$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