From 70a41f64381a23f9bbeb1294f055a4c3edc7a011 Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Fri, 26 May 2017 19:28:09 -0700 Subject: [PATCH] Change min/max length of random password generator --- pass/Helpers/Globals.swift | 2 +- pass/Views/SliderTableViewCell.xib | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pass/Helpers/Globals.swift b/pass/Helpers/Globals.swift index c4980f4..4ad58a6 100644 --- a/pass/Helpers/Globals.swift +++ b/pass/Helpers/Globals.swift @@ -23,7 +23,7 @@ class Globals { static let repositoryPath = "\(libraryPath)/password-store" static var passcodeConfiguration = PasscodeLockConfiguration() - static let passwordDefaultLength = ["Random": (min: 6, max: 24, def: 16), + static let passwordDefaultLength = ["Random": (min: 4, max: 64, def: 16), "Apple": (min: 15, max: 15, def: 15)] static let gitSignatureDefaultName = "Pass for iOS" diff --git a/pass/Views/SliderTableViewCell.xib b/pass/Views/SliderTableViewCell.xib index 8a0333b..260695c 100644 --- a/pass/Views/SliderTableViewCell.xib +++ b/pass/Views/SliderTableViewCell.xib @@ -1,11 +1,11 @@ - + - + @@ -20,37 +20,37 @@ - + - + - +