aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils/FakeConfigManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Use PSR-3 logger for login attemptsArthurHoaro2020-10-201-3/+7
| | | | Fixes #1122
* Add test coverage for LoginManager methodsVirtualTam2018-06-021-0/+12
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor login / ban authentication stepsVirtualTam2018-02-051-1/+34
| | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/324 Added: - Add the `LoginManager` class to manage logins and bans Changed: - Refactor IP ban management - Simplify logic - Avoid using globals, inject dependencies Fixed: - Use `ban_duration` instead of `ban_after` when setting a new ban Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Improve SessionManager constructor and testsVirtualTam2017-11-081-0/+12
Relates to https://github.com/shaarli/Shaarli/pull/1005 Changed: - pass a copy of the ConfigManager instance instead of a reference - move FakeConfigManager to a dedicated file - update tests Signed-off-by: VirtualTam <virtualtam@flibidi.net>