Sha256: d27353a173d552beff66718939e3648eaba1e3e79155a7be3479b3d5cc26f89d

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

module DeviseTwoFactorable
  module Hooks
    autoload :Sessions, 'devise_two_factorable/hooks/sessions.rb'

    class << self
      def apply
        Devise::SessionsController.send :prepend, Hooks::Sessions
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise-2fa-0.4.1 lib/devise_two_factorable/hooks.rb
devise-2fa-0.4.0 lib/devise_two_factorable/hooks.rb
devise-2fa-0.2.1 lib/devise_two_factorable/hooks.rb
devise-2fa-0.2.0 lib/devise_two_factorable/hooks.rb
devise-2fa-0.1.1 lib/devise_two_factorable/hooks.rb
devise-2fa-0.1.0 lib/devise_two_factorable/hooks.rb