File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
app/Http/Controllers/Api/Remote Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,6 @@ public function __invoke(SftpAuthenticationFormRequest $request): JsonResponse
7878
7979 $ this ->validateSftpAccess ($ user , $ server );
8080
81- Activity::event ('auth:sftp.success ' )->actor ($ user )
82- ->subject ($ user )
83- ->property (array_filter ([
84- 'method ' => isset ($ key ) ? 'ssh_key ' : 'password ' ,
85- 'fingerprint ' => isset ($ key ) ? 'SHA256: ' . $ key ->getFingerprint ('sha256 ' ) : null ,
86- ]))
87- ->log ();
88-
8981 return new JsonResponse ([
9082 'user ' => $ user ->uuid ,
9183 'server ' => $ server ->uuid ,
Original file line number Diff line number Diff line change 1717 'token ' => 'Solved two-factor challenge ' ,
1818 'ip-blocked ' => 'Blocked request from unlisted IP address for :identifier ' ,
1919 'sftp ' => [
20- 'success ' => 'Logged in using SFTP ' ,
2120 'fail ' => 'Failed SFTP log in ' ,
2221 ],
2322 ],
You can’t perform that action at this time.
0 commit comments