Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F430276
PhabricatorDisabledUserController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
PhabricatorDisabledUserController.php
View Options
<?php
final
class
PhabricatorDisabledUserController
extends
PhabricatorAuthController
{
public
function
shouldRequireEnabledUser
()
{
return
false
;
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$user
=
$request
->
getUser
();
if
(!
$user
->
getIsDisabled
())
{
return
new
Aphront404Response
();
}
return
id
(
new
AphrontDialogView
())
->
setUser
(
$user
)
->
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
Sat, May 3, 10:15 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
60174
Default Alt Text
PhabricatorDisabledUserController.php (574 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment