misc_pterodactyl-panel/app/Models/WebauthnKey.php

17 lines
331 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class WebauthnKey extends \LaravelWebauthn\Models\WebauthnKey
{
use HasFactory;
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}