shawenguan hace 1 año
padre
commit
4690296e8b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Scripts/elife/ofpayHelper.js

+ 3 - 0
Scripts/elife/ofpayHelper.js

@@ -280,6 +280,9 @@ function handleIndexLogin() {
     if (loginParams) {
         lk.setVal(OfPayConstKey.loginParams, loginParams);
     }
+    if (!$response) {
+        return;
+    }
     let headers = $response.headers;
     let newAuthorization = null;
     if (headers['Set-Cookie']) {