Skip to content

Commit 9a821ce

Browse files
committed
Merge remote-tracking branch 'svn/scipioce-1.14' into scipioce-1.14
2 parents 7f006bf + 013d493 commit 9a821ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

framework/webapp/src/org/ofbiz/webapp/control/#Worker.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -461,12 +461,14 @@ public static String login(HttpServletRequest request, HttpServletResponse respo
461461
request.setAttribute("_ERROR_MESSAGE_", errMsg);
462462
return "error";
463463
}
464+
465+
// SCIPIO: stop if delegator null, for now
464466
if(delegator == null){
465467
Map<String, String> messageMap = UtilMisc.toMap("errorMessage", "Tenant [" + tenantId + "] not found...");
466468
String errMsg = UtilProperties.getMessage(resourceWebapp, "loginevents.following_error_occurred_during_login", messageMap, UtilHttp.getLocale(request));
467469
request.setAttribute("_ERROR_MESSAGE_", errMsg);
468470
return "error";
469-
}
471+
}
470472

471473
// NOTE: these will be local for now and set in the request and session later, after we've verified that the user
472474
setupNewDelegatorEtc = true;

0 commit comments

Comments
 (0)