Replace Box_Session and improve session handling (#1332)

* Replace Box_Session and improve session handling

* Improve weights, capitalize class name correctly

* Make the tests pass, update the SQL structure

* Tweak to the fingerprint class, fix more tests

* Regenerate session IDs when logging in

* Improve readability

* Update ServiceTest.php

* Tweak weights and added Huntr badge to the readme

* Improve readability, add PHPDocs, and updated weight

* Update SECURITY.md
This commit is contained in:
Belle Aerni authored and GitHub committed 2023-06-19 04:14:29 -07:00
1 parent 2f90e055d0
commit b9c35a1747
25 files changed
+381 -206

No files matched your search

+1
View File
@@ -1145,6 +1145,7 @@ CREATE TABLE `session` (
`id` varchar(32) NOT NULL DEFAULT '',
`modified_at` int(11) DEFAULT NULL,
`content` text,
`fingerprint` text,
UNIQUE KEY `unique_id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;