aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/History.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-10-22 18:44:46 +0200
committerVirtualTam <virtualtam@flibidi.net>2017-10-22 19:19:46 +0200
commitebd650c06c67a67da2a0d099f625b6a7ec62ab2b (patch)
tree913f91672adbb9805432b356760187dc78e2a80b /application/History.php
parente648f62b4ffee16a89619815eb3e7ee7a4dff87f (diff)
downloadShaarli-ebd650c06c67a67da2a0d099f625b6a7ec62ab2b.tar.gz
Shaarli-ebd650c06c67a67da2a0d099f625b6a7ec62ab2b.tar.zst
Shaarli-ebd650c06c67a67da2a0d099f625b6a7ec62ab2b.zip
Refactor session token management
Relates to https://github.com/shaarli/Shaarli/issues/324 Added: - `SessionManager` class to group session-related features - unit tests Changed: - `getToken()` -> `SessionManager->generateToken()` - `tokenOk()` -> `SessionManager->checkToken()` - inject a `$token` parameter to `PageBuilder`'s constructor Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/History.php')
0 files changed, 0 insertions, 0 deletions