aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/security/SessionManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix compatiliby issue on login with PHP 7.1ArthurHoaro2020-10-281-2/+5
| | | | session_set_cookie_params does not return any value in PHP 7.1
* Fix broken route to filter not tagged bookmarksArthurHoaro2020-08-311-1/+0
| | | | | | Also display the filter for visitors. Fixes #1529
* Move PHP and config init to dedicated fileArthurHoaro2020-07-231-0/+14
| | | | in order to keep index.php as minimal as possible
* Process login through Slim controllerArthurHoaro2020-07-231-0/+30
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-3/+13
|
* Process password change controller through SlimArthurHoaro2020-07-231-0/+4
|
* Process session filters through Slim controllersArthurHoaro2020-07-231-0/+33
| | | | | | | Including: - visibility - links per page - untagged only
* Process tag cloud page through Slim controllerArthurHoaro2020-07-231-0/+10
|
* Render login page through Slim controllerArthurHoaro2020-01-261-0/+6
|
* SessionManager+LoginManager: fix checkLoginState logicVirtualTam2018-06-021-1/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* SessionManager: remove unused UID tokenVirtualTam2018-06-021-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | There already are dedicated tokens for: - CSRF protection - user stay-signed-in feature, via cookie This token was most likely intended as a randomly generated, server-side, secret key to be used when generating hashes. See http://sebsauvage.net/wiki/doku.php?id=php:session [FR] Relevant section: Une clé secrète unique aléatoire est générée côté serveur (et jamais envoyée). Elle peut servir pour signer les formulaires (HMAC) ou générer des token de formulaires (protection contre XSRF). Voir $_SESSION['uid']. Translation: A unique, server-side secret key is randomly generated (and never transmitted). It can be used to sign forms (HMAC) or generate form tokens (protection against XSRF). See $_SESSION['uid'] Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor LoginManager stay-signed-in token managementVirtualTam2018-06-021-3/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor session and cookie timeout controlVirtualTam2018-06-021-11/+37
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Move LoginManager and SessionManager to the Security namespaceVirtualTam2018-06-021-0/+179
Signed-off-by: VirtualTam <virtualtam@flibidi.net>