From f39fd36b8584f6e0ba6dca16cd23410d27b4d497 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 19 Feb 2021 17:02:03 +0100 Subject: [PATCH] Ensure if no sso option is there we preset correctly --- src/views/appstore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/appstore.js b/src/views/appstore.js index 2fbe83db2..b0b1fffc0 100644 --- a/src/views/appstore.js +++ b/src/views/appstore.js @@ -186,7 +186,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran $scope.appInstall.optionalSso = !!manifest.optionalSso; $scope.appInstall.customAuth = !(manifest.addons['ldap'] || manifest.addons['proxyAuth']); - $scope.appInstall.accessRestrictionOption = $scope.groups.length ? '' : 'any'; // make the user select an ACL conciously if groups are used + $scope.appInstall.accessRestrictionOption = $scope.appInstall.customAuth ? 'any' : ($scope.groups.length ? '' : 'any'); // make the user select an ACL conciously if groups are used $scope.appInstall.accessRestriction = { users: [], groups: [] }; // set default ports