Use the correct accessRestrictionOption variable

This commit is contained in:
Johannes
2016-11-22 11:13:01 +01:00
parent a87831b48c
commit 7b65529f63

View File

@@ -144,7 +144,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
accessRestriction: accessRestriction,
cert: $scope.appInstall.certificateFile,
key: $scope.appInstall.keyFile,
sso: $scope.appInstall.optionalSso && $scope.appInstall.accessRestriction == 'nosso'
sso: $scope.appInstall.optionalSso && $scope.appInstall.accessRestrictionOption == 'nosso'
};
Client.installApp($scope.appInstall.app.id, $scope.appInstall.app.manifest, $scope.appInstall.app.title, data, function (error) {