Skip to content

Commit

Permalink
winauth#525 winauth#415 add the digits and interval into the creating…
Browse files Browse the repository at this point in the history
… of new authenticator
  • Loading branch information
winauth committed Aug 9, 2017
1 parent ee4db21 commit e05cbb5
Show file tree
Hide file tree
Showing 7 changed files with 884 additions and 783 deletions.
3 changes: 1 addition & 2 deletions Authenticator/GoogleAuthenticator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ public GoogleAuthenticator()

/// <summary>
/// Enroll the authenticator with the server.
public void Enroll(string b32key, HMACTypes hmacType = HMACTypes.SHA1)
public void Enroll(string b32key)
{
SecretKey = Base32.getInstance().Decode(b32key);
HMACType = hmacType;
Sync();
}

Expand Down
4 changes: 2 additions & 2 deletions Authenticator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.6.0.0")]
[assembly: AssemblyFileVersion("3.6.0.0")]
[assembly: AssemblyVersion("3.6.1.0")]
[assembly: AssemblyFileVersion("3.6.1.0")]
Loading

0 comments on commit e05cbb5

Please sign in to comment.