From 572d86f37dd92e6e255bcced5ffb18f5359b1695 Mon Sep 17 00:00:00 2001 From: "vishal_g@tekdi.net" Date: Sat, 1 Nov 2014 12:53:21 +0530 Subject: [PATCH] vishal - small change in authentication file --- code/site/libraries/authentication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);