Page MenuHomePhorge

PhabricatorAuthTryFactorAction.php
No OneTemporary

Size
466 B
Referenced Files
None
Subscribers
None

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, May 5, 5:11 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69549
Default Alt Text
PhabricatorAuthTryFactorAction.php (466 B)

Event Timeline