Sha256: 77acbaaf0c595238fa61a23482c42238b39da865369a4af4f7ce1cba696b5ae7
Contents?: true
Size: 427 Bytes
Versions: 8
Compression:
Stored size: 427 Bytes
Contents
module DeviseOtpAuthenticatable module Mapping def self.included(base) base.alias_method_chain :default_controllers, :otp end private def default_controllers_with_otp(options) options[:controllers] ||= {} options[:controllers][:otp_tokens] ||= "tokens" options[:controllers][:otp_credentials] ||= "credentials" default_controllers_without_otp(options) end end end
Version data entries
8 entries across 8 versions & 3 rubygems