@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #181 from nexeck/patch-1

Only enable menu entry "Import from LDAP" when ldap auth is enabled.

+3 -1
+3 -1
src/applications/people/controller/PhabricatorPeopleController.php
··· 27 27 if ($is_admin) { 28 28 $nav->addLabel('Create Users'); 29 29 $nav->addFilter('edit', 'Create New User'); 30 - $nav->addFilter('ldap', 'Import from LDAP'); 30 + if (PhabricatorEnv::getEnvConfig('ldap.auth-enabled') === true) { 31 + $nav->addFilter('ldap', 'Import from LDAP'); 32 + } 31 33 $nav->addSpacer(); 32 34 } 33 35