diff --git a/code/site/libraries/authentication.php b/code/site/libraries/authentication.php index 107ed94..00c13b9 100755 --- a/code/site/libraries/authentication.php +++ b/code/site/libraries/authentication.php @@ -45,9 +45,9 @@ public static function authenticateRequest() { $key = $app->input->get('key'); if(!empty($key)) - $method = $params->get('auth_method', 'key'); + $method = 'key'; else - $method = $params->get('auth_method', 'login'); + $method = 'login'; $className = 'APIAuthentication'.ucwords($method);