Skip to content

Commit

Permalink
Remove sleep() from the password modules
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jun 19, 2020
1 parent 9736169 commit 1aaab19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ protected function compile()
{
$objWidget->value = '';
$objWidget->addError($GLOBALS['TL_LANG']['MSC']['oldPasswordWrong']);
sleep(2); // Wait 2 seconds while brute forcing :)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ protected function compile()

if ($objMember === null)
{
sleep(2); // Wait 2 seconds while brute forcing :)
$this->Template->error = $GLOBALS['TL_LANG']['MSC']['accountNotFound'];
}
else
Expand Down

0 comments on commit 1aaab19

Please sign in to comment.