Add Passkey Support & Pint

This commit is contained in:
2026-04-21 15:56:46 +02:00
parent 8ae9eaaadb
commit 05d4ef1bdb
57 changed files with 2151 additions and 716 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
class SiteBackground extends Model
{
@@ -21,7 +22,7 @@ class SiteBackground extends Model
/**
* Returns the current IDs of active wallpaper
*/
public function getImages(): ?\Illuminate\Support\Collection
public function getImages(): ?Collection
{
$now = Carbon::now();

View File

@@ -11,10 +11,12 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Storage;
use Spatie\LaravelPasskeys\Models\Concerns\HasPasskeys;
use Spatie\LaravelPasskeys\Models\Concerns\InteractsWithPasskeys;
class User extends Authenticatable
class User extends Authenticatable implements HasPasskeys
{
use HasFactory, Notifiable;
use HasFactory, InteractsWithPasskeys, Notifiable;
/**
* The attributes that are mass assignable.