securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp
changeset 39 61986511a9c8
parent 26 aad866c37519
child 66 67b3e3c1fc87
--- a/securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp	Thu Jul 08 20:04:36 2010 +0300
+++ b/securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp	Thu Jul 22 14:15:39 2010 +0300
@@ -376,8 +376,8 @@
     TInt length = aLockCode.Length();
 
     RDEBUG("length", length);
-		// from now on, it accepts all lenghts, because some locks are 20, others are 13
-    // if(aLockCode.Length() <= KSimLockMaxPasswordSize)
+		// from now on, it accepts restricted lengths, although some locks are 20, others are 13
+    if(aLockCode.Length() <= KSimLockMaxPasswordSize)
     {
     if (aType.CompareF(Operator) == 0)
         {
@@ -473,8 +473,8 @@
     TInt length = aUnlockCode.Length();
 
     RDEBUG("length", length);
-		// from now on, it accepts all lenghts, because some locks are 20, others are 13
-    // if(aUnlockCode.Length() <= KSimLockMaxPasswordSize)
+		// from now on, it accepts restricted lengths, although some locks are 20, others are 13
+    if(aUnlockCode.Length() <= KSimLockMaxPasswordSize)
     {
     if (aType.CompareF(Operator) == 0)
         {