diff --git a/action/user.php b/action/user.php index 639abfe..291ea14 100644 --- a/action/user.php +++ b/action/user.php @@ -62,11 +62,13 @@ public function handleUsermod(Event $event) { global $ACT; global $USERINFO; + /** @var auth_plugin_authplain $auth */ global $auth; global $INPUT; if ($event->data['type'] != 'modify') return; if ($ACT != 'profile') return; + if ($this->hlp->getConf('singleService')) return; // we want to modify the user's groups $groups = $USERINFO['grps']; //current groups @@ -108,6 +110,8 @@ public function handleOldProfileform(Event $event) /** @var auth_plugin_authplain $auth */ global $auth; + if ($this->hlp->getConf('singleService')) return; + /** @var Doku_Form $form */ $form = $event->data; $pos = $form->findElementByAttribute('type', 'submit'); @@ -151,6 +155,8 @@ public function handleProfileform(Event $event) /** @var auth_plugin_authplain $auth */ global $auth; + if ($this->hlp->getConf('singleService')) return; + /** @var Form $form */ $form = $event->data; $pos = $form->findPositionByAttribute('type', 'submit');