diff --git a/client.py b/client.py index 13a7b841..fd82c4bb 100644 --- a/client.py +++ b/client.py @@ -72,6 +72,7 @@ async def extend_client_key( client.sub_id = email client.total_gb = total_gb client.enable = True + client.limit_ip = 1 await xui.client.update(client.id, client) logger.info( diff --git a/handlers/keys/keys.py b/handlers/keys/keys.py index 7f91f143..18777a97 100644 --- a/handlers/keys/keys.py +++ b/handlers/keys/keys.py @@ -216,7 +216,7 @@ async def process_callback_view_key(callback_query: types.CallbackQuery): inline_keyboard = [ [download_iphone_button, download_android_button], [connect_iphone_button, connect_android_button], - [connect_pc_button], # Добавляем кнопки для Windows и Linux + [connect_pc_button], [renew_button, delete_button], ]