Skip to content

Commit

Permalink
Fix typo (#65)
Browse files Browse the repository at this point in the history
s/paramters/parameters
  • Loading branch information
spring1843 committed Aug 17, 2021
1 parent bd63651 commit 4a83670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func promptForPasscode() string {
}

// Demo function, not used in main
// Generates Passcode using a UTF-8 (not base32) secret and custom paramters
// Generates Passcode using a UTF-8 (not base32) secret and custom parameters
func GeneratePassCode(utf8string string) string{
secret := base32.StdEncoding.EncodeToString([]byte(utf8string))
passcode, err := totp.GenerateCodeCustom(secret, time.Now(), totp.ValidateOpts{
Expand Down

0 comments on commit 4a83670

Please sign in to comment.