Add activity logging for authentication events

This commit is contained in:
DaneEveritt 2022-05-28 17:03:58 -04:00
parent 5bb66a00d8
commit 0999ad7ff0
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
11 changed files with 179 additions and 18 deletions

View file

@ -0,0 +1,18 @@
<?php
namespace Pterodactyl\Events\Auth;
use Pterodactyl\Models\User;
class ProvidedAuthenticationToken
{
public User $user;
public bool $recovery;
public function __construct(User $user, bool $recovery = false)
{
$this->user = $user;
$this->recovery = $recovery;
}
}