diff --git a/src/views/apps.html b/src/views/apps.html index c4f17525e..082562de8 100644 --- a/src/views/apps.html +++ b/src/views/apps.html @@ -13,9 +13,8 @@
This app is set up to allow all users with a mailbox on this Cloudron. Login with the email and Cloudron password to access the mailbox.
-This app is set up to authenticate with the Cloudron User Directory. Cloudron users can login and use {{ appPostInstallConfirm.app.manifest.title }}.
+This app is set up to authenticate with the Cloudron User Directory. Cloudron users can login and use {{ appPostInstallConfirm.app.manifest.title }}.
This app is set up to allow all users with a mailbox on this Cloudron. Login with the email and Cloudron password to access the mailbox.
-This app is set up to authenticate with the Cloudron User Directory. Cloudron users can login and use {{ appInfo.app.manifest.title }}.
+This app is set up to authenticate with the Cloudron User Directory. Cloudron users can login and use {{ appInfo.app.manifest.title }}.
diff --git a/src/views/apps.js b/src/views/apps.js index d4267c1fe..12d230af0 100644 --- a/src/views/apps.js +++ b/src/views/apps.js @@ -40,13 +40,11 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout' app: {}, message: '', confirmed: false, - customAuth: false, show: function (app) { $scope.appPostInstallConfirm.app = app; $scope.appPostInstallConfirm.message = app.manifest.postInstallMessage; $scope.appPostInstallConfirm.confirmed = false; - $scope.appPostInstallConfirm.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']); $('#appPostInstallConfirmModal').modal('show'); @@ -66,12 +64,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout' $scope.appInfo = { app: {}, message: '', - customAuth: false, show: function (app) { $scope.appInfo.app = app; $scope.appInfo.message = app.manifest.postInstallMessage; - $scope.appInfo.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']); $('#appinfoPostinstallMessage').collapse('hide'); $('#appInfoModal').modal('show');