Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F538763
PhabricatorDisabledUserController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
570 B
Referenced Files
None
Subscribers
None
PhabricatorDisabledUserController.php
View Options
<?php
final
class
PhabricatorDisabledUserController
extends
PhabricatorAuthController
{
public
function
shouldRequireEnabledUser
()
{
return
false
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$this
->
getViewer
();
$id
=
$request
->
getURIData
(
'id'
);
if
(!
$viewer
->
getIsDisabled
())
{
return
new
Aphront404Response
();
}
return
$this
->
newDialog
()
->
setTitle
(
pht
(
'Account Disabled'
))
->
addCancelButton
(
'/logout/'
,
pht
(
'Okay'
))
->
appendParagraph
(
pht
(
'Your account has been disabled.'
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 8:55 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120046
Default Alt Text
PhabricatorDisabledUserController.php (570 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment