shawenguan 1 anno fa
parent
commit
4690296e8b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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']) {