Class: Cortex::AuthenticationFailure

Inherits:
Devise::FailureApp
  • Object
show all
Defined in:
app/devise/cortex/authentication_failure.rb

Instance Method Summary collapse

Instance Method Details

#respondObject

You need to override respond to eliminate recall



4
5
6
7
8
9
10
# File 'app/devise/cortex/authentication_failure.rb', line 4

def respond
  if http_auth?
    http_auth
  else
    redirect
  end
end