mirror of https://gitee.com/stylefeng/roses
【auth】退出时增加销毁cookie
parent
ab766068d7
commit
aa17fc3ccf
|
@ -70,6 +70,7 @@ public class AuthServiceImpl implements AuthServiceApi {
|
|||
public void logout() {
|
||||
String token = LoginContext.me().getToken();
|
||||
logoutWithToken(token);
|
||||
sessionManagerApi.destroySessionCookie();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue