Skip to content

Commit

Permalink
Update Google.Authenticator/TwoFactorAuthenticator.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Frans Lytzen <[email protected]>
  • Loading branch information
ahwm and flytzen authored Jan 11, 2024
1 parent 5515575 commit e49f0ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Google.Authenticator/TwoFactorAuthenticator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ public class TwoFactorAuthenticator

private HashType HashType { get; set; }

public TwoFactorAuthenticator(HashType hashType = HashType.SHA1)
public TwoFactorAuthenticator() : this(HashType.SHA1)
{}

public TwoFactorAuthenticator(HashType hashType)

{
HashType = hashType;
DefaultClockDriftTolerance = TimeSpan.FromMinutes(5);
Expand Down

0 comments on commit e49f0ad

Please sign in to comment.