Pass the token correctly.

This commit is contained in:
Dane Everitt 2017-05-01 14:26:59 -04:00
parent 605c91a9af
commit d919b2ed40
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -207,7 +207,7 @@ class ServerController extends Controller
'path' => $file,
], 1);
return redirect($server->node->scheme . '://' . $server->node->fqdn . ':' . $server->node->daemonListen . '/server/file/download/' . $download->token);
return redirect($server->node->scheme . '://' . $server->node->fqdn . ':' . $server->node->daemonListen . '/server/file/download/' . $token);
}
/**