Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1068024
PhabricatorAuthNeedsApprovalController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
929 B
Referenced Files
None
Subscribers
None
PhabricatorAuthNeedsApprovalController.php
View Options
<?php
final
class
PhabricatorAuthNeedsApprovalController
extends
PhabricatorAuthController
{
public
function
shouldRequireLogin
()
{
return
false
;
}
public
function
shouldRequireEmailVerification
()
{
return
false
;
}
public
function
shouldRequireEnabledUser
()
{
return
false
;
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$user
=
$request
->
getUser
();
$wait_for_approval
=
pht
(
"Your account has been created, but needs to be approved by an "
.
"administrator. You'll receive an email once your account is approved."
);
$dialog
=
id
(
new
AphrontDialogView
())
->
setUser
(
$user
)
->
setTitle
(
pht
(
'Wait for Approval'
))
->
appendChild
(
$wait_for_approval
)
->
addCancelButton
(
'/'
,
pht
(
'Wait Patiently'
));
return
$this
->
buildApplicationPage
(
$dialog
,
array
(
'title'
=>
pht
(
'Wait For Approval'
),
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jun 29, 1:39 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
261123
Default Alt Text
PhabricatorAuthNeedsApprovalController.php (929 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment