stable

Clone or download

Read-only

Rate-limit per user the lost password procedure

A rate-limit of 10mn is now enforced to remove the possibility of spamming a user too much via the Tuleap instance. Closes request #14709: Lost password procedure can be used to spam a user Change-Id: I1223bd93dfa0db4bd50f1badf5bad3a334fd1e27

Modified Files

Name
M src/common/User/Password/Reset/Creator.php +5 −4 Go to diff View file
M src/common/User/Password/Reset/LostPasswordDAO.php +25 −8 Go to diff View file
M src/www/account/lostpw-confirm.php +22 −17 Go to diff View file
A tests/integration/tests/User/Password/Reset/LostPasswordDAOTest.php +55 −0 Go to diff View file
M tests/unit/common/User/Password/Reset/CreatorTest.php +37 −7 Go to diff View file