mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 10:32:31 +01:00
Don't log SFTP logins, it just is noisy
This commit is contained in:
parent
8b59c1c1a8
commit
7558c0380e
@ -78,14 +78,6 @@ class SftpAuthenticationController extends Controller
|
||||
|
||||
$this->validateSftpAccess($user, $server);
|
||||
|
||||
Activity::event('auth:sftp.success')->actor($user)
|
||||
->subject($user)
|
||||
->property(array_filter([
|
||||
'method' => isset($key) ? 'ssh_key' : 'password',
|
||||
'fingerprint' => isset($key) ? 'SHA256:' . $key->getFingerprint('sha256') : null,
|
||||
]))
|
||||
->log();
|
||||
|
||||
return new JsonResponse([
|
||||
'user' => $user->uuid,
|
||||
'server' => $server->uuid,
|
||||
|
@ -17,7 +17,6 @@ return [
|
||||
'token' => 'Solved two-factor challenge',
|
||||
'ip-blocked' => 'Blocked request from unlisted IP address for :identifier',
|
||||
'sftp' => [
|
||||
'success' => 'Logged in using SFTP',
|
||||
'fail' => 'Failed SFTP log in',
|
||||
],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user