Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / auth / action / PhabricatorAuthTryEmailLoginAction.php
blobabb1a6c099ebcfe5993f6a370de80c7e03eb1ae2
1 <?php
3 final class PhabricatorAuthTryEmailLoginAction
4 extends PhabricatorSystemAction {
6 const TYPECONST = 'mail.try-login';
8 public function getScoreThreshold() {
9 return 20 / phutil_units('1 hour in seconds');
12 public function getLimitExplanation() {
13 return pht(
14 'You have made too many account recovery requests in a short period '.
15 'of time.');