Changeset 6505


Ignore:
Timestamp:
Aug 6, 2014, 9:38:36 AM (8 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1827: Do not warn about not being logged in when trying to log out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-stable/www/logout.jsp

    r6504 r6505  
    4040<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
    4141<%
    42 final SessionControl sc = Base.getExistingSessionControl(pageContext, true);
     42final SessionControl sc = Base.getExistingSessionControl(pageContext, false);
    4343final String ID = sc.getId();
    44 final String noconfirm = request.getParameter("noconfirm");
    45 if (noconfirm != null)
     44final boolean noconfirm = Values.getBoolean(request.getParameter("noconfirm"), !sc.isLoggedIn());
     45if (noconfirm)
    4646{
    4747  // Redirect to main login page
Note: See TracChangeset for help on using the changeset viewer.