Skip to content

Commit

Permalink
Merge branch 'master' of github.com:techjoomla/com_api
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbung committed Nov 5, 2014
2 parents 94b59f5 + 572d86f commit 92450dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/site/libraries/authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 92450dd

Please sign in to comment.