generate 16 digit strong password for ftp

This commit is contained in:
Istiak Ferdous 2020-04-29 17:46:58 +06:00 committed by GitHub
parent ede66be2d3
commit 7797e641d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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;
};
});
});