Function cleanTokens
Removes old unused tokens from session defaults to 3 hours before a token is considered expired if $complete = true will remove all tokens
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Security.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Security.php
boolean |
$complete = false |
Whether to remove all tokens or only expired ones |