feat(freeipapi): Added ability to use own API token (#1901)

* feat(freeipapi): Added ability to use own API token

* Updated

* Update displaying_torrent.php

* Update usercp_register.tpl

* Update register.php
This commit is contained in:
Roman Kelesidis 2025-05-05 18:58:08 +03:00 committed by GitHub
commit 513e3065d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 21 deletions

View file

@ -366,7 +366,7 @@ foreach ($profile_fields as $field => $can_edit) {
'user_callseed' => $reg_mode ? true : true,
'user_retracker' => $reg_mode ? true : true,
'user_hide_torrent_client' => $reg_mode ? true : true,
'user_hide_peer_country' => $reg_mode ? true : true,
'user_hide_peer_country' => $reg_mode ? true : $bb_cfg['ip2country_settings']['enabled'],
];
foreach ($update_user_opt as $opt => $can_change_opt) {