module Devise::Models::AuthyAuthenticatable

Public Instance Methods

with_authy_authentication?(request) click to toggle source
# File lib/devise-authy/models/authy_authenticatable.rb, line 7
def with_authy_authentication?(request)
  if self.authy_id.present? && self.authy_enabled
    return true
  end

  return false
end