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-01 17:29:04 +0100
commit554b2875114cc00d48b0820a7b01549102912ffe (patch)
treec1125ec2cb7eb6e0b3f14862f5f15aed2ac1867a
parent7c3c04d55b3808d9e90eaaa0ba51b3e9cd682823 (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);