svn commit: r1090853 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1090853 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

buscob
Author: buscob
Date: Sun Apr 10 17:51:23 2011
New Revision: 1090853

URL: http://svn.apache.org/viewvc?rev=1090853&view=rev
Log:
Fixed the requiredPasswordChange feature.
This feature was not working since rev.741374 because a quick return from the login service was introduced if the user was already logged in.

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java?rev=1090853&r1=1090852&r2=1090853&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java Sun Apr 10 17:51:23 2011
@@ -292,11 +292,6 @@ public class LoginWorker {
     public static String login(HttpServletRequest request, HttpServletResponse response) {
         HttpSession session = request.getSession();
 
-        if (session.getAttribute("userLogin") != null) {
-            // already logged in, do nothing...
-            return "success";
-        }
-
         String username = request.getParameter("USERNAME");
         String password = request.getParameter("PASSWORD");