Changeset 3776


Ignore:
Timestamp:
Aug 18, 2010, 2:26:09 PM (13 years ago)
Author:
Gregory Vincic
Message:

Fixing problem with going to correct action when session has expired by always redirecting a user to ViewHome?. This is done because we cannot guarantee that each action is reachable from the login form, meaning some actions require parameters that just aren't available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/execute/Login.java

    r3689 r3776  
    2929
    3030import org.proteios.action.ProteiosAction;
     31import org.proteios.action.read.ViewHome;
    3132import org.proteios.core.Application;
    3233import org.proteios.core.BaseException;
     
    8283    {
    8384      if (!userIsLoggedIn(username, sessionControlId, remoteId))
    84         loginUser(username, password, sessionControlId, remoteId);
    85       setForwardTo(forwardActionId);
     85      {
     86     loginUser(username, password, sessionControlId, remoteId);
     87   }
     88      setForwardTo(ViewHome.class.getName());
    8689    }
    8790    catch (InvalidPasswordException e)
Note: See TracChangeset for help on using the changeset viewer.