Password with "Apple" flavor has a fixed length

This commit is contained in:
Yishi Lin 2017-03-29 00:00:24 +08:00
parent fe4ea4e79c
commit c93a63d8cc
3 changed files with 18 additions and 5 deletions

View file

@ -24,9 +24,8 @@ class Globals {
static let red = UIColor(red:1.00, green:0.23, blue:0.19, alpha:1.0)
static let blue = UIColor(red:0.00, green:0.48, blue:1.00, alpha:1.0)
static let passwordMinimumLength = 6
static let passwordMaximumLength = 24
static let passwordDefaultLength = 16
static let passwordDefaultLength = ["Random": (min: 6, max: 24, def: 16),
"Apple": (min: 15, max: 15, def: 15)]
static let passwordDots = "••••••••••••"
static let passwordFonts = "Menlo"