Browse Source

check 8 char min

marinofaggiana 6 years ago
parent
commit
b1458377d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Share/CCShareOC.m

+ 1 - 1
iOSClient/Share/CCShareOC.m

@@ -579,7 +579,7 @@
     if (alertController) {
     if (alertController) {
         UITextField *password = alertController.textFields.firstObject;
         UITextField *password = alertController.textFields.firstObject;
         UIAlertAction *okAction = alertController.actions.lastObject;
         UIAlertAction *okAction = alertController.actions.lastObject;
-        okAction.enabled = password.text.length > 0;
+        okAction.enabled = password.text.length >= 8;
     }
     }
 }
 }