Function validateSession
Check if the user is who he/she says he is Makes sure the user is who they claim to be by requiring a password to be typed in every hour. Is turned on and off by the securityDisable setting. Uses the adminLogin() function of Subs-Auth.php if they need to login, which saves all request (post and get) data.
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
string |
$type = 'admin' |
What type of session this is |
string |
$force = false |
When true, require a password even if we normally wouldn't |
|string
|
Returns 'session_verify_fail' if verification failed |