summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator/CounterAuthenticator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TwoStepsAuthenticator/CounterAuthenticator.cs')
-rw-r--r--TwoStepsAuthenticator/CounterAuthenticator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TwoStepsAuthenticator/CounterAuthenticator.cs b/TwoStepsAuthenticator/CounterAuthenticator.cs
index d4eafec..fffae73 100644
--- a/TwoStepsAuthenticator/CounterAuthenticator.cs
+++ b/TwoStepsAuthenticator/CounterAuthenticator.cs
@@ -18,7 +18,7 @@ namespace TwoStepsAuthenticator {
throw new ArgumentException("look-ahead window size must be positive");
}
- this.UsedCodeManager = (usedCodeManager == null) ? new UsedCodesManager() : usedCodeManager;
+ this.UsedCodeManager = (usedCodeManager == null) ? Authenticator.DefaultUsedCodeManager.Value : usedCodeManager;
this.WindowSize = windowSize;
}