Wrong value was checked.
Before creating the user login, I checked the presence of the cardId instead of the phone (certainly a remaining in the code from previous attempts). git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1715,7 +1715,7 @@ public class PosTransaction implements Serializable {
|
||||
svcCtx.put("userLogin", userLogin);
|
||||
svcCtx.put("lastName", name);
|
||||
svcCtx.put("firstName", ""); // Needed by service createPersonAndUserLogin
|
||||
if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(card)) {
|
||||
if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(phone)) {
|
||||
svcCtx.put("userLoginId", email);
|
||||
svcCtx.put("currentPassword", phone);
|
||||
svcCtx.put("currentPasswordVerify", phone);
|
||||
|
||||
Reference in New Issue
Block a user