Skip to content

Commit 7797e64

Browse files
author
Istiak Ferdous
authored
generate 16 digit strong password for ftp
1 parent ede66be commit 7797e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ftp/static/ftp/ftp.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ app.controller('createFTPAccount', function ($scope, $http) {
113113

114114
$scope.generatePassword = function () {
115115
$scope.generatedPasswordView = false;
116-
$scope.ftpPassword = randomPassword(12);
116+
$scope.ftpPassword = randomPassword(16);
117117
};
118118

119119
$scope.usePassword = function () {
@@ -451,11 +451,11 @@ app.controller('listFTPAccounts', function ($scope, $http) {
451451

452452
$scope.generatePassword = function () {
453453
$scope.generatedPasswordView = false;
454-
$scope.ftpPassword = randomPassword(12);
454+
$scope.ftpPassword = randomPassword(16);
455455
};
456456

457457
$scope.usePassword = function () {
458458
$scope.generatedPasswordView = true;
459459
};
460460

461-
});
461+
});

0 commit comments

Comments
 (0)