Skip to content

Commit 98ca795

Browse files
author
Istiak Ferdous
authored
generate 16 digit strong password for database
1 parent 63c4227 commit 98ca795

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: databases/static/databases/databases.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ app.controller('createDatabase', function ($scope, $http) {
106106

107107
$scope.generatePassword = function () {
108108
$scope.generatedPasswordView = false;
109-
$scope.dbPassword = randomPassword(12);
109+
$scope.dbPassword = randomPassword(16);
110110
};
111111

112112
$scope.usePassword = function () {
@@ -447,7 +447,7 @@ app.controller('listDBs', function ($scope, $http) {
447447

448448
$scope.generatePassword = function () {
449449
$scope.generatedPasswordView = false;
450-
$scope.dbPassword = randomPassword(12);
450+
$scope.dbPassword = randomPassword(16);
451451
};
452452

453453
$scope.usePassword = function () {
@@ -493,4 +493,4 @@ app.controller('phpMyAdmin', function ($scope, $http, $window) {
493493
}
494494
setupPHPMYAdminSession();
495495

496-
});
496+
});

0 commit comments

Comments
 (0)