Author: buscob
Date: Sun Apr 10 17:51:23 2011
New Revision: 1090853
URL:
http://svn.apache.org/viewvc?rev=1090853&view=revLog:
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");