Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93605206
PhabricatorRefreshCSRFController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 30, 02:45
Size
335 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 02:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22672029
Attached To
rPH Phabricator
PhabricatorRefreshCSRFController.php
View Options
<?php
final
class
PhabricatorRefreshCSRFController
extends
PhabricatorAuthController
{
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$user
=
$request
->
getUser
();
return
id
(
new
AphrontAjaxResponse
())
->
setContent
(
array
(
'token'
=>
$user
->
getCSRFToken
(),
));
}
}
Event Timeline
Log In to Comment