summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.TestApp/ViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TwoStepsAuthenticator.TestApp/ViewModel.cs')
-rw-r--r--TwoStepsAuthenticator.TestApp/ViewModel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/TwoStepsAuthenticator.TestApp/ViewModel.cs b/TwoStepsAuthenticator.TestApp/ViewModel.cs
index 8bfeb9b..5a2e7b6 100644
--- a/TwoStepsAuthenticator.TestApp/ViewModel.cs
+++ b/TwoStepsAuthenticator.TestApp/ViewModel.cs
@@ -72,7 +72,7 @@ namespace TwoStepsAuthenticatorTestApp
public ViewModel()
{
- var authenticator = new TwoStepsAuthenticator.Authenticator();
+ var authenticator = new TwoStepsAuthenticator.TimeAuthenticator();
this.Key = authenticator.GenerateKey();
timer = new DispatcherTimer(TimeSpan.FromSeconds(1), DispatcherPriority.Normal, timerCallback, App.Current.Dispatcher);
timer.Start();
@@ -95,7 +95,7 @@ namespace TwoStepsAuthenticatorTestApp
internal void GetCode()
{
- var auth = new TwoStepsAuthenticator.Authenticator();
+ var auth = new TwoStepsAuthenticator.TimeAuthenticator();
Code = auth.GetCode(this.Key);
auth.CheckCode(key, Code);