details: https://code.openbravo.com/erp/devel/pi/rev/3c2889e6eebd
changeset: 15238:3c2889e6eebd
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Fri Jan 27 10:14:33 2012 +0100
summary: issue 19283: You can not lock an user
diffstat:
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java | 2
+-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3fe916f3aa96 -r 3c2889e6eebd
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
--- a/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
Thu Jan 26 12:44:55 2012 +0100
+++ b/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
Fri Jan 27 10:14:33 2012 +0100
@@ -80,7 +80,7 @@
OBError errorMsg = new OBError();
errorMsg.setType("Error");
- if (LoginUtils.checkUserPassword(conn, strUser, "") == null) {
+ if (LoginUtils.checkUserPassword(conn, strUser, strPass) == null) {
log4j.debug("Failed user/password. Username: " + strUser + " - Session
ID:" + sessionId);
errorMsg.setTitle("IDENTIFICATION_FAILURE_TITLE");
errorMsg.setMessage("IDENTIFICATION_FAILURE_MSG");
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits