Page MenuHome GnuPG

PhabricatorSetupCheckAuth.php
No OneTemporary

PhabricatorSetupCheckAuth.php

<?php
final class PhabricatorSetupCheckAuth extends PhabricatorSetupCheck {
protected function executeChecks() {
$providers = PhabricatorAuthProvider::getAllEnabledProviders();
if (!$providers) {
$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 %s.',
phutil_tag(
'a',
array(
'href' => '/auth/',
),
pht('using the "Auth" application')));
$this
->newIssue('auth.noproviders')
->setShortName(pht('No Auth Providers'))
->setName(pht('No Authentication Providers Configured'))
->setMessage($message);
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Feb 4, 4:15 PM (22 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ad/de/938a9bfeda1c21a85c6cfd579c3a

Event Timeline