setViewer(PhabricatorUser::getOmnipotentUser()) ->execute(); if (!$configs) { $message = pht( 'You have not configured any authentication providers yet. You '. 'should add a provider (like username/password, LDAP, or GitHub '. 'OAuth) so users can register and log in. You can add and configure '. 'providers using the [[%s | "Auth" application]].', '/auth/'); $this ->newIssue('auth.noproviders') ->setShortName(pht('No Auth Providers')) ->setName(pht('No Authentication Providers Configured')) ->setMessage($message); } } }