This commit is contained in:
myname 2023-10-18 16:11:24 +09:00
commit cbfd79fd4f

View File

@ -14,6 +14,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONObject;
import org.springframework.context.ApplicationContext;
import org.springframework.http.ResponseEntity;
@ -80,7 +81,7 @@ public class APILoginContoller {
key = "std02@forwiz.comxpnBtqsev3nh9mryXRdL9QRSR72XuNc08ese5iXHb0Waq1dMnSdkHHqKCgoSFeyH.amV1c19kb21haW4vTE1T";
returnUrl = "/web/main/mainPage.do";*/
if(userId == null || key == null) {
if(StringUtils.isEmpty(userId) || StringUtils.isEmpty(key)) {
return "redirect:/web/main/mainPage.do";
}