diff --git a/webadmin/src/views/apps.js b/webadmin/src/views/apps.js index 3b46cbea9..111369e33 100644 --- a/webadmin/src/views/apps.js +++ b/webadmin/src/views/apps.js @@ -26,7 +26,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location portBindings: {}, portBindingsEnabled: {}, portBindingsInfo: {}, - oauthProxy: '', certificateFile: null, certificateFileName: '', keyFile: null, @@ -71,7 +70,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location $scope.appConfigure.password = ''; $scope.appConfigure.portBindings = {}; // This is the actual model holding the env:port pair $scope.appConfigure.portBindingsEnabled = {}; // This is the actual model holding the enabled/disabled flag - $scope.appConfigure.oauthProxy = ''; $scope.appConfigure.certificateFile = null; $scope.appConfigure.certificateFileName = ''; $scope.appConfigure.keyFile = null; @@ -152,7 +150,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location // fill relevant info from the app $scope.appConfigure.app = app; $scope.appConfigure.location = app.location; - $scope.appConfigure.oauthProxy = app.oauthProxy ? '1' : ''; $scope.appConfigure.portBindingsInfo = app.manifest.tcpPorts || {}; // Portbinding map only for information $scope.appConfigure.accessRestrictionOption = app.accessRestriction ? 'restricted' : ''; $scope.appConfigure.accessRestriction = app.accessRestriction || { users: [], groups: [] }; @@ -189,7 +186,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location var data = { location: $scope.appConfigure.location || '', portBindings: finalPortBindings, - oauthProxy: !!$scope.appConfigure.oauthProxy, accessRestriction: !$scope.appConfigure.accessRestrictionOption ? null : $scope.appConfigure.accessRestriction, cert: $scope.appConfigure.certificateFile, key: $scope.appConfigure.keyFile, diff --git a/webadmin/src/views/appstore.js b/webadmin/src/views/appstore.js index 9c9967aa1..31a572b84 100644 --- a/webadmin/src/views/appstore.js +++ b/webadmin/src/views/appstore.js @@ -18,7 +18,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca location: '', portBindings: {}, accessRestriction: null, - oauthProxy: false, mediaLinks: [], certificateFile: null, certificateFileName: '', @@ -142,7 +141,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca $scope.appInstall.location = ''; $scope.appInstall.portBindings = {}; $scope.appInstall.accessRestriction = null; - $scope.appInstall.oauthProxy = false; $scope.appInstall.installFormVisible = false; $scope.appInstall.resourceConstraintVisible = false; $scope.appInstall.mediaLinks = []; @@ -213,7 +211,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca $scope.appInstall.portBindings = {}; // This is the actual model holding the env:port pair $scope.appInstall.portBindingsEnabled = {}; // This is the actual model holding the enabled/disabled flag $scope.appInstall.accessRestriction = app.accessRestriction ? app.accessRestriction.users[0] : $scope.user; - $scope.appInstall.oauthProxy = false; // set default ports for (var env in $scope.appInstall.app.manifest.tcpPorts) { @@ -252,7 +249,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca location: $scope.appInstall.location || '', portBindings: finalPortBindings, accessRestriction: accessRestriction, - oauthProxy: $scope.appInstall.oauthProxy, cert: $scope.appInstall.certificateFile, key: $scope.appInstall.keyFile, };