aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/security/LoginManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Add strict types for bookmarks managementArthurHoaro2020-10-131-1/+1
| | | | | | | | Parameters typing and using strict types overall increase the codebase quality by enforcing the a given parameter will have the expected type. It also removes the need to unnecessary unit tests checking methods behavior with invalid input.
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-9/+7
|
* LDAP - Force protocol LDAPv3ArthurHoaro2020-06-251-3/+11
| | | | | | | On Linux, php-ldap seems to rely on a library which still uses deprecated LDAPv2 as default version, causing authentication issues. See: https://stackoverflow.com/a/48238224/1484919
* Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-1/+6
| | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
* Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-1/+1
| | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
* Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-2/+4
| | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
* ldap authentication, fixes shaarli/Shaarli#1343Sébastien NOBILI2020-03-021-9/+55
|
* Rewrite IP ban managementArthurHoaro2019-02-091-86/+14
| | | | | | | This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager. IPs are now stored in the same format as the datastore, through FileUtils. Fixes #1032 #587
* Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-loginArthurHoaro2019-02-091-0/+3
|\ | | | | Do not check the IP address with session protection disabled
| * Do not check the IP address with session protection disabledArthurHoaro2018-07-171-0/+3
| | | | | | | | | | | | This allows the user to stay logged in if his IP changes. Fixes #1106
* | lint: apply phpcbf to application/VirtualTam2018-12-021-1/+0
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* SessionManager+LoginManager: fix checkLoginState logicVirtualTam2018-06-021-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add test coverage for LoginManager methodsVirtualTam2018-06-021-5/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor LoginManager stay-signed-in token managementVirtualTam2018-06-021-4/+33
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor session and cookie timeout controlVirtualTam2018-06-021-3/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Move LoginManager and SessionManager to the Security namespaceVirtualTam2018-06-021-0/+238
Signed-off-by: VirtualTam <virtualtam@flibidi.net>