Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92689153
PhabricatorAuthTestSMSAction.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
Fri, Nov 22, 19:21
Size
533 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 19:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22487132
Attached To
rPH Phabricator
PhabricatorAuthTestSMSAction.php
View Options
<?php
final
class
PhabricatorAuthTestSMSAction
extends
PhabricatorSystemAction
{
const
TYPECONST
=
'auth.sms.test'
;
public
function
getActionConstant
()
{
return
self
::
TYPECONST
;
}
public
function
getScoreThreshold
()
{
return
60
/
phutil_units
(
'1 hour in seconds'
);
}
public
function
getLimitExplanation
()
{
return
pht
(
'You and other users on this install are collectively sending too '
.
'many test text messages too quickly. Wait a few minutes to continue '
.
'texting tests.'
);
}
}
Event Timeline
Log In to Comment