- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
static public function checkFingerprint($fingerprint = null)
{
$user = ServiceFactory::getServiceUsers()->getByID((int)$_COOKIE['__MW__accountID']);
$fingerprint = (isset($fingerprint)) ? $fingerprint : Users::getFingerprint();
$flag = (bool)($fingerprint == $user->generateFingerprint());
if ( $flag )
return $user->userID;
else
return 0;
}
Follow us!