Made a sensitive method private

This commit is contained in:
Pierre 2017-12-20 18:29:15 +01:00
parent 828050e471
commit 6124f602f2

View File

@ -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(