svn commit: r917435 - /ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java

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

svn commit: r917435 - /ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java

jleroux@apache.org
Author: jleroux
Date: Mon Mar  1 09:41:47 2010
New Revision: 917435

URL: http://svn.apache.org/viewvc?rev=917435&view=rev
Log:
In eCommerce password Hint Message should be an event message, not error message.

Thanks to Koon Sang at https://issues.apache.org/jira/browse/OFBIZ-3525 - OFBIZ-3525

Modified:
    ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java

Modified: ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java?rev=917435&r1=917434&r2=917435&view=diff
==============================================================================
--- ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java (original)
+++ ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java Mon Mar  1 09:41:47 2010
@@ -159,7 +159,7 @@
 
         Map<String, String> messageMap = UtilMisc.toMap("passwordHint", passwordHint);
         errMsg = UtilProperties.getMessage(resource, "loginevents.password_hint_is", messageMap, UtilHttp.getLocale(request));
-        request.setAttribute("_ERROR_MESSAGE_", errMsg);
+        request.setAttribute("_EVENT_MESSAGE_", errMsg);
         return "success";
     }