Skip to content
Permalink
Browse files
generate 16 digit strong password for ftp
  • Loading branch information
istiak101 committed Apr 29, 2020
1 parent ede66be commit 7797e641d5ff7e9bbd90acd053155e803a0649aa
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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;
};

});
});

0 comments on commit 7797e64

Please sign in to comment.