Closed svbnbyrk closed 1 year ago
Hi @pquerna , I'm attending Hactoberfest. This PR must have a hacktoberfest label to be valid for Hactoberfest participation rules. Can you add the hackoberfest label this PR pls?
Hi @pquerna, This PR isn't valid yet. I guess just hacktoberfest-accepted label is enough. My fault, sorry. Thank u for support.
Problem: If the validate
Ops.Digit
parameter is not passed to thehotp.GenerateCodeCustom()
function, the default value is not correctly assigned. By default, it should generate a 6-digit code, but it produces 0.Solution:
hotp.GenerateCodeCustom()
otp.DigitSix
value as the default.