Add logic to validate the OTP code
Add logic to validate the OTP code

Remove gem-specific methods and add a direct implementation of the
logic that checks the provided code using the rotp gem.

alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2