From d1fcd4e97a4ac84322dc2142749c23bed32a5818 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 11:49:38 +0100 Subject: [PATCH] Update add_user.py --- ollama_proxy_server/add_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollama_proxy_server/add_user.py b/ollama_proxy_server/add_user.py index 94689f2..d0cc353 100644 --- a/ollama_proxy_server/add_user.py +++ b/ollama_proxy_server/add_user.py @@ -12,7 +12,7 @@ def add_user(users_list=None): """Add a new user to the users list file""" user_name = input('Enter your username: ') key = generate_key() - print(f'Your key is: {key}') + print(f'Your key is: {user_name}:{key}') if not users_list or not users_list.exists(): users_list = Path(users_list) if users_list else Path('authorized_users.txt') users_list.touch(exist_ok=True)