From ad915f26b03a94ae1b319c4eae631bcfca2c0041 Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 18 Sep 2014 16:03:02 +0200 Subject: [PATCH] fixed #241 - Maxium length now is set to 256 --- MacPass/Base.lproj/PasswordCreatorView.xib | 34 ++++++++++++---------- MacPass/MPPasswordCreatorViewController.m | 2 +- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/MacPass/Base.lproj/PasswordCreatorView.xib b/MacPass/Base.lproj/PasswordCreatorView.xib index 91824d97..507df440 100644 --- a/MacPass/Base.lproj/PasswordCreatorView.xib +++ b/MacPass/Base.lproj/PasswordCreatorView.xib @@ -1,8 +1,8 @@ - + - + @@ -32,7 +32,7 @@ - + @@ -41,11 +41,11 @@ - + - + @@ -59,7 +59,7 @@ - + @@ -70,6 +70,9 @@ + + + @@ -188,9 +191,6 @@ - - + + - + @@ -224,8 +224,8 @@ - - + + @@ -274,12 +274,16 @@ - + + + + + diff --git a/MacPass/MPPasswordCreatorViewController.m b/MacPass/MPPasswordCreatorViewController.m index 567db5d5..53521c65 100644 --- a/MacPass/MPPasswordCreatorViewController.m +++ b/MacPass/MPPasswordCreatorViewController.m @@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MPPasswordRating) { Skale 0-90 */ #define MIN_PASSWORD_LENGTH 1 -#define MAX_PASSWORD_LENGTH 64 +#define MAX_PASSWORD_LENGTH 256 @interface MPPasswordCreatorViewController () { MPPasswordCharacterFlags _characterFlags;