mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
19 lines
381 B
PHP
19 lines
381 B
PHP
<?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 const RESOURCE_NAME = 'webauthn_key';
|
|
|
|
public function user(): BelongsTo
|
|
{
|
|
return $this->belongsTo(User::class);
|
|
}
|
|
}
|