From 80da8c2b4e9ae7c19dc1c115d3496756ea56bb61 Mon Sep 17 00:00:00 2001 From: arthur Date: Sun, 19 Oct 2025 23:33:35 +0700 Subject: [PATCH] add email and password verification to client-side vpn --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9441528..492e1eb 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ def generate_client(request: ClientRequest): 2. Assemble the `.ovpn` file with the new certificate/key and the server's CA and TA keys. 3. Save the file to the server's client configuration directory. """ - success, message = generate_client_config(request.username) + success, message = generate_client_config(request.username, request.email) if not success: raise HTTPException(status_code=500, detail=message) return {"message": message}