Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move session ID check to SessionManager | VirtualTam | 2017-10-22 | 1 | -0/+30 |
| | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/324 Changed: - `is_session_id_valid()` -> `SessionManager::checkId()` - update tests Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | Refactor session token management | VirtualTam | 2017-10-22 | 1 | -0/+53 |
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> |