From b0c1b7b6830d0eaebba043bb70ab204cbf008445 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 22 Nov 2017 12:28:06 -0500 Subject: [PATCH] default password generated is 14 length --- src/app/organization/organizationVaultAddCipherController.js | 2 +- src/app/organization/organizationVaultEditCipherController.js | 2 +- src/app/vault/vaultAddCipherController.js | 2 +- src/app/vault/vaultEditCipherController.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/organization/organizationVaultAddCipherController.js b/src/app/organization/organizationVaultAddCipherController.js index ca2db65ee3..d38234840f 100644 --- a/src/app/organization/organizationVaultAddCipherController.js +++ b/src/app/organization/organizationVaultAddCipherController.js @@ -40,7 +40,7 @@ $scope.generatePassword = function () { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { $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 }); } }; diff --git a/src/app/organization/organizationVaultEditCipherController.js b/src/app/organization/organizationVaultEditCipherController.js index 3a1e1c9c2d..23d62253f3 100644 --- a/src/app/organization/organizationVaultEditCipherController.js +++ b/src/app/organization/organizationVaultEditCipherController.js @@ -28,7 +28,7 @@ $scope.generatePassword = function () { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { $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 }); } }; diff --git a/src/app/vault/vaultAddCipherController.js b/src/app/vault/vaultAddCipherController.js index 8aafa45636..f629d373cc 100644 --- a/src/app/vault/vaultAddCipherController.js +++ b/src/app/vault/vaultAddCipherController.js @@ -40,7 +40,7 @@ $scope.generatePassword = function () { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { $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 }); } }; diff --git a/src/app/vault/vaultEditCipherController.js b/src/app/vault/vaultEditCipherController.js index 03be2c9925..4f6ffbc119 100644 --- a/src/app/vault/vaultEditCipherController.js +++ b/src/app/vault/vaultEditCipherController.js @@ -51,7 +51,7 @@ $scope.generatePassword = function () { if (!$scope.cipher.login.password || confirm('Are you sure you want to overwrite the current password?')) { $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 }); } };