From 7335bc2fb6b0bb3ebc27be074ae056125e078284 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Thu, 29 Apr 2021 14:01:07 +0300 Subject: [PATCH] Do not change error code >10 on redirection --- src/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index 42e28b5..634b092 100644 --- a/src/auth.c +++ b/src/auth.c @@ -317,7 +317,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){ } if((res = alwaysauth(param))){ - return (res == 10)? res : 60+res; + return (res >= 10)? res : 60+res; } } else {