Merge branch 'advc' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/offedu into advc
This commit is contained in:
commit
cbfd79fd4f
@ -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";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user