Add activity logging for authentication events
This commit is contained in:
parent
5bb66a00d8
commit
0999ad7ff0
11 changed files with 179 additions and 18 deletions
18
app/Events/Auth/ProvidedAuthenticationToken.php
Normal file
18
app/Events/Auth/ProvidedAuthenticationToken.php
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue