Also fixup sso message display in app configuration

This commit is contained in:
Johannes Zellner
2020-10-15 16:51:17 +02:00
parent 7948d68ac7
commit 57e8faa8ab
2 changed files with 2 additions and 8 deletions
-4
View File
@@ -143,12 +143,10 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.postInstallMessage = {
confirmed: false,
openApp: false,
customAuth: false,
show: function (openApp) {
$scope.postInstallMessage.confirmed = false;
$scope.postInstallMessage.openApp = !!openApp;
$scope.postInstallMessage.customAuth = !($scope.app.manifest.addons['ldap'] || $scope.app.manifest.addons['oauth']);
if (!$scope.app.manifest.postInstallMessage) return;
$('#postInstallModal').modal('show');
@@ -1415,12 +1413,10 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.postInstallConfirm = {
message: '',
confirmed: false,
customAuth: false,
show: function () {
$scope.postInstallConfirm.message = $scope.app.manifest.postInstallMessage;
$scope.postInstallConfirm.confirmed = false;
$scope.postInstallConfirm.customAuth = !($scope.app.manifest.addons['ldap'] || $scope.app.manifest.addons['oauth']);
$('#postInstallConfirmModal').modal('show');