Method: Authlogic::Session::UnauthorizedRecord#credentials

Defined in:
lib/authlogic/session/unauthorized_record.rb

#credentialsObject

Returning meaningful credentials



23
24
25
26
27
28
29
30
31
# File 'lib/authlogic/session/unauthorized_record.rb', line 23

def credentials
  if authenticating_with_unauthorized_record?
    details = {}
    details[:unauthorized_record] = "<protected>"
    details
  else
    super
  end
end