فهرست منبع

fix type from local forward code

CauseFX 6 سال پیش
والد
کامیت
3e853873d4
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      js/functions.js

+ 3 - 3
js/functions.js

@@ -6594,11 +6594,11 @@ function organizrSpecialSettings(array){
 }
 }
 function checkLocalForwardStatus(array){
 function checkLocalForwardStatus(array){
     if(array.settings.login.enableLocalAddressForward == true && typeof array.settings.login.enableLocalAddressForward !== 'undefined'){
     if(array.settings.login.enableLocalAddressForward == true && typeof array.settings.login.enableLocalAddressForward !== 'undefined'){
-        if(array.setting.login.wanDomain !== '' && array.setting.login.localAddress !== ''){
+        if(array.settings.login.wanDomain !== '' && array.settings.login.localAddress !== ''){
             console.log('Local Login Enabled');
             console.log('Local Login Enabled');
             console.log('Local Login Testing...');
             console.log('Local Login Testing...');
-            let remoteSite = array.setting.login.wanDomain;
-            let localSite = array.setting.login.localAddress;
+            let remoteSite = array.settings.login.wanDomain;
+            let localSite = array.settings.login.localAddress;
             try {
             try {
                 let currentURL = decodeURI(window.location.href)
                 let currentURL = decodeURI(window.location.href)
                 let currentSite = window.location.host;
                 let currentSite = window.location.host;