global

def otp_valid_code?(ot_pass)

def otp_valid_code?(ot_pass)
  if otp_exists?
    otp.verify(ot_pass.gsub(/\s+/, ''))
  end
end