Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / auth / action / PhabricatorAuthChangePasswordAction.php
blob41aac1ec122ccaed7b374c20dfaf4a98e5c69a03
1 <?php
3 final class PhabricatorAuthChangePasswordAction
4 extends PhabricatorSystemAction {
6 const TYPECONST = 'auth.password';
8 public function getScoreThreshold() {
9 return 20 / phutil_units('1 hour in seconds');
12 public function getLimitExplanation() {
13 return pht(
14 'You have failed to enter the correct account password too often in '.
15 'a short period of time.');