Don't log SFTP logins, it just is noisy

This commit is contained in:
DaneEveritt 2022-07-10 14:30:11 -04:00
parent 8b59c1c1a8
commit 7558c0380e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 0 additions and 9 deletions

View file

@ -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,