Page MenuHomePhorge

PhabricatorAuthTryFactorAction.php
No OneTemporary

PhabricatorAuthTryFactorAction.php

<?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.');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jun 9, 06:32 (16 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1763278
Default Alt Text
PhabricatorAuthTryFactorAction.php (466 B)

Event Timeline