What's Changed
- Use XenForo database connection instead of direct PDO
- Simplify CSRF check to avoid double validation
- Update to version 1.0.1
- Better integration with XenForo's database layer
- Cleaner CSRF validation logic
- Improved code maintainability
- Download the release ZIP file
- Extract to your XenForo installation's src/addons/ directory
- Install via Admin CP or run: php cmd.php xf-addon:install WindowsForum/SessionValidator
Thanks @digitalpoint for doing analysis of this code for some of these fixes.