From 5d43b26c4c2755800b5612e8ee5a2d21f17d0851 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 23 Jun 2025 16:39:57 +0200 Subject: [PATCH] Update main.py --- ollama_proxy_server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollama_proxy_server/main.py b/ollama_proxy_server/main.py index 1182fef..215e54b 100644 --- a/ollama_proxy_server/main.py +++ b/ollama_proxy_server/main.py @@ -150,7 +150,7 @@ def main(): def proxy(self): self.user = "unknown" - if not deactivate_security and not self._validate_user_and_key(): + if not args.deactivate_security and not self._validate_user_and_key(): ASCIIColors.red(f'User is not authorized') client_ip, client_port = self.client_address # Extract the bearer token from the headers