1. Devin Martin
  2. KeeOtp


Devin Martin  committed 0ce3455

Fixed critical bug with the serialization of step window size and digit count. Fixes issue #2

  • Participants
  • Parent commits 0d75e0c
  • Branches default

Comments (0)

Files changed (1)

File OtpAuthData.cs

View file
         private static int GetIntOrDefault(NameValueCollection parameters, string parameterKey, int defaultValue)
-            if (parameters[stepParameter] != null)
+            if (parameters[parameterKey] != null)
                 int step;
-                if (int.TryParse(parameters[stepParameter], out step))
+                if (int.TryParse(parameters[parameterKey], out step))
                     return step;
                     return defaultValue;