mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
scrape add cache
This commit is contained in:
@@ -1132,7 +1132,7 @@ function get_passkey_by_authkey($authkey)
|
||||
}
|
||||
$uid = $arr[1];
|
||||
$torrentRep = new \App\Repositories\TorrentRepository();
|
||||
$decrypted = $torrentRep->checkTrackerReportAuthKey($_REQUEST['authkey']);
|
||||
$decrypted = $torrentRep->checkTrackerReportAuthKey($authkey);
|
||||
if (empty($decrypted)) {
|
||||
throw new \InvalidArgumentException("Invalid authkey: $authkey");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user