1
0
Fork 0
devise-kerberos-authenticat.../lib/devise-kerberos-authenticatable.rb
2014-01-29 20:59:43 +00:00

15 lines
466 B
Ruby

require 'devise'
$: << File.expand_path('..', __FILE__)
require 'devise_kerberos_authenticatable/model'
require 'devise_kerberos_authenticatable/strategy'
require 'devise_kerberos_authenticatable/kerberos_adapter'
Devise.add_module(
:kerberos_authenticatable,
:strategy => true,
:model => 'devise_kerberos_authenticatable/model',
:route => :session,
:controller => :sessions
)