From b406a59f88caf7fb208c8e28f355dac672d34be6 Mon Sep 17 00:00:00 2001 From: Istiak Ferdous <30789544+istiak101@users.noreply.github.com> Date: Wed, 29 Apr 2020 17:46:58 +0600 Subject: [PATCH] generate 16 digit strong password for ftp --- ftp/static/ftp/ftp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ftp/static/ftp/ftp.js b/ftp/static/ftp/ftp.js index 679a8b5f7..a80377e6b 100755 --- a/ftp/static/ftp/ftp.js +++ b/ftp/static/ftp/ftp.js @@ -113,7 +113,7 @@ app.controller('createFTPAccount', function ($scope, $http) { $scope.generatePassword = function () { $scope.generatedPasswordView = false; - $scope.ftpPassword = randomPassword(12); + $scope.ftpPassword = randomPassword(16); }; $scope.usePassword = function () { @@ -451,11 +451,11 @@ app.controller('listFTPAccounts', function ($scope, $http) { $scope.generatePassword = function () { $scope.generatedPasswordView = false; - $scope.ftpPassword = randomPassword(12); + $scope.ftpPassword = randomPassword(16); }; $scope.usePassword = function () { $scope.generatedPasswordView = true; }; -}); \ No newline at end of file +});