Function setTFACookie
Sets Two Factor Auth cookie
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Auth.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Auth.php
integer |
$cookie_length |
How long the cookie should last, in seconds |
integer |
$id |
The ID of the member |
string |
$secret |
Should be a salted secret using hash_salt |