MyShaarli/tests/utils
VirtualTam 44acf70681 Refactor login / ban authentication steps
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>
2018-02-05 18:12:09 +01:00
..
config Fix warnings when upgrading from legacy SebSauvage version 2018-01-25 19:55:31 +01:00
languages/fr/LC_MESSAGES Shaarli's translation 2017-10-22 12:55:03 +02:00
FakeConfigManager.php Refactor login / ban authentication steps 2018-02-05 18:12:09 +01:00
ReferenceHistory.php History: fix entries order 2017-05-07 17:11:25 +02:00
ReferenceLinkDB.php Performances: reorder links when they're written instead of read 2017-09-02 15:10:44 +02:00
ReferenceSessionIdHashes.php Session ID: extend the regex to match possible hash representations 2015-09-06 16:14:24 +02:00