From 6124f602f2baa1e88a94032eef578e0320fd14ce Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 20 Dec 2017 18:29:15 +0100 Subject: [PATCH] Made a sensitive method private --- classes/components/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/components/user.php b/classes/components/user.php index 81a2c75..dfaf952 100644 --- a/classes/components/user.php +++ b/classes/components/user.php @@ -82,7 +82,7 @@ class User{ * @param Integer $serviceID The ID of the service * @return False if it fails, or tokens if success */ - public function getUserLoginTokenByIDs($userID, $serviceID){ + private function getUserLoginTokenByIDs($userID, $serviceID){ //Prepare database request $conditions = "WHERE ID_utilisateurs = ? AND ID_".CS::get()->config->get("dbprefix")."API_ServicesToken = ?"; $values = array(