show ldap login into in all the post install dialogs
This commit is contained in:
@@ -142,10 +142,12 @@ 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.manifest.addons['oauth']);
|
||||
|
||||
if (!$scope.app.manifest.postInstallMessage) return;
|
||||
$('#postInstallModal').modal('show');
|
||||
@@ -1404,10 +1406,12 @@ 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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user