mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-29 16:14:16 +08:00
fix logic issue
This commit is contained in:
@@ -34,7 +34,7 @@ public class Register extends HttpServlet {
|
||||
response.addHeader("Content-type", "text/plain;charset=utf-8");
|
||||
|
||||
HttpSession httpSession = request.getSession(false);
|
||||
if (Checker.authorized(httpSession, Command.REGISTER)) {
|
||||
if (!Checker.authorized(httpSession, Command.REGISTER)) {
|
||||
Redirect.message(response, 0, "Authorize_Failed");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user