Specify sso for apps not using of optionalSso
This commit is contained in:
11
src/apps.js
11
src/apps.js
@@ -525,6 +525,17 @@ function install(data, auditSource, callback) {
|
||||
purchase(appId, appStoreId, function (error) {
|
||||
if (error) return callback(error);
|
||||
|
||||
// FIXME revise this once customAuth is gone
|
||||
if (sso === null) {
|
||||
if (manifest.customAuth) {
|
||||
sso = false;
|
||||
} else if (manifest.addons['simpleauth'] || manifest.addons['ldap'] || manifest.addons['oauth']) {
|
||||
sso = true;
|
||||
} else {
|
||||
sso = false;
|
||||
}
|
||||
}
|
||||
|
||||
var data = {
|
||||
accessRestriction: accessRestriction,
|
||||
memoryLimit: memoryLimit,
|
||||
|
||||
Reference in New Issue
Block a user