mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Added passkey check in show_bt_userdata (#15)
This commit is contained in:
parent
02edfdb323
commit
b27be71b1c
@ -1240,7 +1240,12 @@ function show_bt_userdata ($user_id)
|
||||
{
|
||||
global $lang, $template;
|
||||
|
||||
$btu = get_bt_userdata($user_id);
|
||||
if (!$btu = get_bt_userdata($user_id))
|
||||
{
|
||||
require(INC_DIR .'functions_torrent.php');
|
||||
generate_passkey($user_id, true);
|
||||
$btu = get_bt_userdata($user_id);
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'SHOW_BT_USERDATA' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user