Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114843242
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
Wed, May 28, 01:39
Size
335 B
Mime Type
text/x-php
Expires
Fri, May 30, 01:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26394090
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