feat: session을 30분으로 제한
parent
6a265de2b4
commit
d7b1e1a748
|
|
@ -154,7 +154,7 @@ public class MainController {
|
|||
}
|
||||
}
|
||||
*/
|
||||
String[] allowIp = {"0:0:0:0:0:0:0:1", "218.49.16.78", "218.49.21.65", "218.232.234.161"};
|
||||
String[] allowIp = {"0:0:0:0:0:0:0:1", "127.0.0.1", "218.49.16.78", "218.49.21.65", "218.232.234.161"};
|
||||
boolean isAuth = false;
|
||||
boolean encryptChange = true;
|
||||
boolean loginSuccess = false;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public class UserInfo implements Serializable {
|
|||
session.setAttribute(source + ".userID", userID);
|
||||
session.setAttribute(source + ".userName", userName);
|
||||
session.setAttribute(source + ".masterCode", masterCode);
|
||||
session.setMaxInactiveInterval(43200);
|
||||
session.setMaxInactiveInterval(1800);
|
||||
|
||||
//InetAddress ip = InetAddress.getLocalHost();
|
||||
//session.setAttribute(source + ".userIP", ip); // IP <20>߰<EFBFBD>
|
||||
|
|
|
|||
Loading…
Reference in New Issue