【auth】更新cookie策略

pull/3/head
fengshuonan 2021-01-13 21:48:29 +08:00
parent 8b8661dd10
commit 4a2f2af04a
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ public class DefaultSessionCookieCreator extends SessionCookieCreator {
@Override
public void expandCookieProp(Cookie cookie) {
cookie.setHttpOnly(true);
cookie.setSecure(true);
cookie.setPath("/");
}