Class: Ddr::Auth::FailureApp

Inherits:
Devise::FailureApp
  • Object
show all
Defined in:
lib/ddr/auth/failure_app.rb

Instance Method Summary collapse

Instance Method Details

#respondObject



5
6
7
8
9
10
11
12
# File 'lib/ddr/auth/failure_app.rb', line 5

def respond
  if scope == :user && Ddr::Auth.require_shib_user_authn
    store_location!
    redirect_to user_omniauth_authorize_path(:shibboleth)
  else
    super
  end
end