From 6addb504e4c956dbbb22fb9e3ed1ed1e87972986 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Wed, 15 May 2019 10:49:19 +0800 Subject: [PATCH] fix #1012 --- lualib/snax/loginserver.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lualib/snax/loginserver.lua b/lualib/snax/loginserver.lua index be88b97a..7ea36b21 100644 --- a/lualib/snax/loginserver.lua +++ b/lualib/snax/loginserver.lua @@ -24,7 +24,6 @@ Protocol: 10. Server->Client : 200 base64(subid) Error Code: - 400 Bad Request . challenge failed 401 Unauthorized . unauthorized by auth_handler 403 Forbidden . login_handler failed 406 Not Acceptable . already in login (disallow multi login) @@ -70,7 +69,6 @@ local function launch_slave(auth_handler) local hmac = crypt.hmac64(challenge, secret) if hmac ~= crypt.base64decode(response) then - write("auth", fd, "400 Bad Request\n") error "challenge failed" end