mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-19 19:29:15 +12:00
Update web
This commit is contained in:
parent
852b5f33ec
commit
6e32fc9aca
18 changed files with 480 additions and 158 deletions
|
@ -51,7 +51,7 @@ if(isset($_GET['CONNECT']))
|
|||
{
|
||||
$playerId = $_SESSION['PLAYER_ID'];
|
||||
|
||||
$hmac = hash_hmac('sha256', (string)$playerId, $hmac_secret."CrossSiteLogin".$_SERVER['REMOTE_ADDR'].date('m/d/Y'));
|
||||
$hmac = GenHmacMessage((string)$playerId, "CrossSiteLogin");
|
||||
$redirectUrl = $server['site'];
|
||||
|
||||
if(!endsWith($redirectUrl, '/'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue