mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-09 23:26:26 +02:00
generate 16 digit strong password for database
This commit is contained in:
@@ -106,7 +106,7 @@ app.controller('createDatabase', function ($scope, $http) {
|
||||
|
||||
$scope.generatePassword = function () {
|
||||
$scope.generatedPasswordView = false;
|
||||
$scope.dbPassword = randomPassword(12);
|
||||
$scope.dbPassword = randomPassword(16);
|
||||
};
|
||||
|
||||
$scope.usePassword = function () {
|
||||
@@ -447,7 +447,7 @@ app.controller('listDBs', function ($scope, $http) {
|
||||
|
||||
$scope.generatePassword = function () {
|
||||
$scope.generatedPasswordView = false;
|
||||
$scope.dbPassword = randomPassword(12);
|
||||
$scope.dbPassword = randomPassword(16);
|
||||
};
|
||||
|
||||
$scope.usePassword = function () {
|
||||
@@ -493,4 +493,4 @@ app.controller('phpMyAdmin', function ($scope, $http, $window) {
|
||||
}
|
||||
setupPHPMYAdminSession();
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user