Skip to content

Commit

Permalink
vishal - small change in authentication file
Browse files Browse the repository at this point in the history
vishal22 committed Nov 1, 2014

Verified

This commit was signed with the committer’s verified signature.
derekpierre Derek Pierre
1 parent 33522f4 commit 572d86f
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
@@ -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);

0 comments on commit 572d86f

Please sign in to comment.