Install Breeze

This commit is contained in:
Benjamin Nussbaum 2025-02-08 15:06:14 +01:00
parent 337c77f8a2
commit 32d63c09e7
55 changed files with 5782 additions and 88 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace App\Livewire\Actions;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class Logout
{
/**
* Log the current user out of the application.
*/
public function __invoke(): void
{
Auth::guard('web')->logout();
Session::invalidate();
Session::regenerateToken();
}
}