Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92716226
PhabricatorAuthTryFactorAction.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 23, 01:57
Size
466 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 01:57 (2 d)
Engine
blob
Format
Raw Data
Handle
22495249
Attached To
rPH Phabricator
PhabricatorAuthTryFactorAction.php
View Options
<?php
final
class
PhabricatorAuthTryFactorAction
extends
PhabricatorSystemAction
{
const
TYPECONST
=
'auth.factor'
;
public
function
getActionConstant
()
{
return
self
::
TYPECONST
;
}
public
function
getScoreThreshold
()
{
return
10
/
phutil_units
(
'1 hour in seconds'
);
}
public
function
getLimitExplanation
()
{
return
pht
(
'You have failed to verify multi-factor authentication too often in '
.
'a short period of time.'
);
}
}
Event Timeline
Log In to Comment