duplicati/Duplicati/Server/webroot/ngax/scripts/controllers/ConfirmDeleteController.js
Kenneth Skovhede 7f40ec46db
Removed the captcha. (#5816)
This commit removes the Captcha support, and replaces with a copy-paste-able safeguard in the UI.
2024-12-28 20:03:52 +01:00

7 lines
302 B
JavaScript

backupApp.controller('ConfirmDeleteController', function($scope, $location, gettextCatalog) {
$scope.selection = $scope.$parent.state.CurrentItem;
if ($scope.selection.requiredword == '')
$scope.selection.requiredword = 'delete all files';
$scope.selection.typedword = '';
});