We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e3f6ffd9 authored by Mike Sheldon's avatar Mike Sheldon

Don't enforce fake api key constraint on web services

parent c9dae8ac
......@@ -412,8 +412,5 @@ $_GET['method'] = strtolower($_GET['method']);
if (!isset($_GET['method']) || !isset($method_map[$_GET['method']]))
report_failure(LFM_INVALID_METHOD);
if (!isset($_GET['api_key']) || !valid_api_key($_GET['api_key']))
report_failure(LFM_INVALID_APIKEY);
$method = $method_map[$_GET['method']];
$method();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment