1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

default password generated is 14 length

This commit is contained in:
Kyle Spearrin 2017-11-22 12:28:06 -05:00
parent 7e8978c7fc
commit b0c1b7b683
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@
$scope.generatePassword = function () { $scope.generatePassword = function () {
if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) {
$analytics.eventTrack('Generated Password From Add'); $analytics.eventTrack('Generated Password From Add');
$scope.cipher.login.password = passwordService.generatePassword({ length: 12, special: true }); $scope.cipher.login.password = passwordService.generatePassword({ length: 14, special: true });
} }
}; };

View File

@ -28,7 +28,7 @@
$scope.generatePassword = function () { $scope.generatePassword = function () {
if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) {
$analytics.eventTrack('Generated Password From Edit'); $analytics.eventTrack('Generated Password From Edit');
$scope.cipher.login.password = passwordService.generatePassword({ length: 12, special: true }); $scope.cipher.login.password = passwordService.generatePassword({ length: 14, special: true });
} }
}; };

View File

@ -40,7 +40,7 @@
$scope.generatePassword = function () { $scope.generatePassword = function () {
if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) {
$analytics.eventTrack('Generated Password From Add'); $analytics.eventTrack('Generated Password From Add');
$scope.cipher.login.password = passwordService.generatePassword({ length: 12, special: true }); $scope.cipher.login.password = passwordService.generatePassword({ length: 14, special: true });
} }
}; };

View File

@ -51,7 +51,7 @@
$scope.generatePassword = function () { $scope.generatePassword = function () {
if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) {
$analytics.eventTrack('Generated Password From Edit'); $analytics.eventTrack('Generated Password From Edit');
$scope.cipher.login.password = passwordService.generatePassword({ length: 12, special: true }); $scope.cipher.login.password = passwordService.generatePassword({ length: 14, special: true });
} }
}; };