From 8cfeb014b5255d0d79a9e2724462cd89d50e6aec Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 27 Sep 2016 19:08:12 +0200 Subject: Disable cli client login function Signed-off-by: Florian Pritz --- application/models/muser.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/models/muser.php b/application/models/muser.php index 48e618fb1..2ec727690 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -279,9 +279,10 @@ class Muser extends CI_Model { $this->apilogin($this->input->post("apikey")); } - if (is_cli_client()) { - $this->login_cli_client(); - } + # keep for now. might be useful if adapted to apikeys instead of passwords + //if (is_cli_client()) { + //$this->login_cli_client(); + //} if ($this->logged_in()) { return $this->check_access_level($wanted_level); -- cgit v1.2.3-24-g4f1b