Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Created March 8, 2016 13:50
Show Gist options
  • Save benmmurphy/a3ead0281030ce9f7a48 to your computer and use it in GitHub Desktop.
Save benmmurphy/a3ead0281030ce9f7a48 to your computer and use it in GitHub Desktop.
<?php
if (hash_equals($token, $details["token"])) {
$_SESSION["verified_msisdn"] = $details["msisdn"];
unset($_SESSION["msisdn_verification"]);
return TRUE;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment