Merge "Merge branch 'stable-2.10' into stable-2.11" into stable-2.11

This commit is contained in:
Edwin Kempin
2015-04-29 05:47:00 +00:00
committed by Gerrit Code Review

View File

@@ -50,6 +50,8 @@ class OAuthOverOpenIDLogoutServlet extends HttpLogoutServlet {
protected void doLogout(HttpServletRequest req, HttpServletResponse rsp)
throws IOException {
super.doLogout(req, rsp);
oauthSession.get().logout();
if (req.getSession(false) != null) {
oauthSession.get().logout();
}
}
}