aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LoginManagerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Refactor user credential validation at login timeVirtualTam2018-05-291-2/+2
| | | | | | | | Changed: - move login/password verification to LoginManager - code cleanup Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor login / ban authentication stepsVirtualTam2018-02-051-0/+199
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>