You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/08/22 10:06:31 UTC

[ofbiz-plugins] branch trunk updated: Fixed: Configure usability of after-login Events in BasicLogin. (OFBIZ-12630)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2f614cff9 Fixed: Configure usability of after-login Events in BasicLogin. (OFBIZ-12630)
2f614cff9 is described below

commit 2f614cff9f340f69eec95f9538f8ab2d62b90415
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Mon Aug 22 12:06:44 2022 +0200

    Fixed: Configure usability of after-login Events in BasicLogin. (OFBIZ-12630)
    
    Fixes a trivial compilation error, I guess the code changed since the PR was
    created
---
 .../src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
index ac4f5db1c..fc381705b 100644
--- a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
+++ b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
@@ -268,7 +268,7 @@ public class JanrainHelper {
             try {
                 GenericValue userLogin = EntityQuery.use(delegator).from("UserLogin").where("userLoginId", preferredUsername).cache().queryOne();
                 if (userLogin != null) {
-                    LoginWorker.doBasicLogin(userLogin, request);
+                    LoginWorker.doBasicLogin(userLogin, request, response);
                     LoginWorker.createSecuredLoginIdCookie(request, response);
                     LoginWorker.autoLoginSet(request, response);
                     return "success";