summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-27 19:08:12 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-05 19:44:15 +0100
commit8cfeb014b5255d0d79a9e2724462cd89d50e6aec (patch)
treef6c435f25070ac3f6e73eeb7ab4758d09dba8158
parenta5235f5cdc947acb843645f6c01bd65fd8cec56d (diff)
Disable cli client login function
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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);