Skip to content

Commit

Permalink
generate 16 digit strong password for ftp
Browse files Browse the repository at this point in the history
  • Loading branch information
Istiak Ferdous authored Apr 29, 2020
1 parent ede66be commit 7797e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ftp/static/ftp/ftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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.