lib/rotp/hotp.rb in rotp-1.3.2 vs lib/rotp/hotp.rb in rotp-1.3.3

- old
+ new

@@ -9,10 +9,10 @@ # Verifies the OTP passed in against the current time OTP # @param [String/Integer] otp the OTP to check against # @param [Integer] counter the counter of the OTP def verify(otp, counter) - otp == self.at(counter) + super(otp, self.at(counter)) end # Returns the provisioning URI for the OTP # This can then be encoded in a QR Code and used # to provision the Google Authenticator app