Page MenuHomePhorge

PhabricatorAuthNewFactorAction.php
No OneTemporary

Size
495 B
Referenced Files
None
Subscribers
None

PhabricatorAuthNewFactorAction.php

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

File Metadata

Mime Type
text/x-php
Expires
Mon, May 5, 5:13 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69555
Default Alt Text
PhabricatorAuthNewFactorAction.php (495 B)

Event Timeline