Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35253396
PhabricatorSetupCheckAuth.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
839 B
Subscribers
None
PhabricatorSetupCheckAuth.php
View Options
<?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
Details
Attached
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
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment