Page MenuHomePhorge

PhabricatorAuthTryEmailLoginAction.php
No OneTemporary

Size
460 B
Referenced Files
None
Subscribers
None

PhabricatorAuthTryEmailLoginAction.php

<?php
final class PhabricatorAuthTryEmailLoginAction
extends PhabricatorSystemAction {
const TYPECONST = 'mail.try-login';
public function getActionConstant() {
return self::TYPECONST;
}
public function getScoreThreshold() {
return 20 / phutil_units('1 hour in seconds');
}
public function getLimitExplanation() {
return pht(
'You have made too many account recovery requests in a short period '.
'of time.');
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, May 4, 10:51 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
68378
Default Alt Text
PhabricatorAuthTryEmailLoginAction.php (460 B)

Event Timeline