Sha256: fe0bba5790986e992506934d58256a53b47dcc9afaca7fe1e148d7d159262161

Contents?: true

Size: 307 Bytes

Versions: 40

Compression:

Stored size: 307 Bytes

Contents

module Ddr
  module Auth
    class FailureApp < Devise::FailureApp

      def respond
        if scope == :user && Ddr::Auth.require_shib_user_authn
          store_location!
          redirect_to user_shibboleth_omniauth_authorize_path
        else
          super
        end
      end

    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ddr-core-1.17.0 lib/ddr/auth/failure_app.rb
ddr-core-1.16.0 lib/ddr/auth/failure_app.rb
ddr-core-1.15.0 lib/ddr/auth/failure_app.rb
ddr-core-1.14.0 lib/ddr/auth/failure_app.rb
ddr-core-1.13.2 lib/ddr/auth/failure_app.rb
ddr-core-1.13.1 lib/ddr/auth/failure_app.rb
ddr-core-1.13.0 lib/ddr/auth/failure_app.rb
ddr-core-1.12.2 lib/ddr/auth/failure_app.rb
ddr-core-1.12.1 lib/ddr/auth/failure_app.rb
ddr-core-1.12.0 lib/ddr/auth/failure_app.rb
ddr-core-1.11.0 lib/ddr/auth/failure_app.rb
ddr-core-1.10.0 lib/ddr/auth/failure_app.rb
ddr-core-1.9.0 lib/ddr/auth/failure_app.rb
ddr-core-1.8.0 lib/ddr/auth/failure_app.rb
ddr-core-1.7.0 lib/ddr/auth/failure_app.rb
ddr-core-1.6.6 lib/ddr/auth/failure_app.rb
ddr-core-1.6.5 lib/ddr/auth/failure_app.rb
ddr-core-1.6.4 lib/ddr/auth/failure_app.rb
ddr-core-1.6.3 lib/ddr/auth/failure_app.rb
ddr-core-1.6.2 lib/ddr/auth/failure_app.rb