Module: Devise::Models::AafRcAuthenticatable

Extended by:
ActiveSupport::Concern
Defined in:
lib/devise_aaf_rc_authenticatable/model.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#after_aaf_rc_authenticationObject

Hook called after AAF authentication.



28
29
# File 'lib/devise_aaf_rc_authenticatable/model.rb', line 28

def after_aaf_rc_authentication
end

#update_with_password(params = {}) ⇒ Object



14
15
16
17
# File 'lib/devise_aaf_rc_authenticatable/model.rb', line 14

def update_with_password(params={})
  params.delete(:current_password)
  self.update_without_password(params)
end

#update_without_password(params = {}) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/devise_aaf_rc_authenticatable/model.rb', line 19

def update_without_password(params={})
  params.delete(:password)
  params.delete(:password_confirmation)

  result = update_attributes(params)
  result
end