Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105918907
PhabricatorAuthNewFactorAction.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
Thu, Mar 20, 19:43
Size
495 B
Mime Type
text/x-php
Expires
Sat, Mar 22, 19:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25072306
Attached To
rPH Phabricator
PhabricatorAuthNewFactorAction.php
View Options
<?php
final
class
PhabricatorAuthNewFactorAction
extends
PhabricatorSystemAction
{
const
TYPECONST
=
'auth.factor.new'
;
public
function
getActionConstant
()
{
return
self
::
TYPECONST
;
}
public
function
getScoreThreshold
()
{
return
60
/
phutil_units
(
'1 hour in seconds'
);
}
public
function
getLimitExplanation
()
{
return
pht
(
'You have failed too many attempts to synchronize new multi-factor '
.
'authentication methods in a short period of time.'
);
}
}
Event Timeline
Log In to Comment