summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/models/muser.php7
1 files 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);