Skip to content

Commit

Permalink
ss_mb_key 체크함수의 user_agent 에 hook 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Nov 10, 2023
1 parent 16051b3 commit a8baa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2285,7 +2285,7 @@ function ss_mb_key($member, $regenerate = false)
set_cookie('mb_client_key', $client_key, G5_SERVER_TIME * -1);
}

$mb_key = md5($member['mb_datetime'] . $client_key) . md5($_SERVER['HTTP_USER_AGENT']);
$mb_key = md5($member['mb_datetime'] . $client_key) . run_replace('ss_mb_key_user_agent', md5($_SERVER['HTTP_USER_AGENT']));

return $mb_key;
}
Expand Down

0 comments on commit a8baa8d

Please sign in to comment.