Sha256: 50f080946125c0c33aff9fe953a094a7007ff3612f85305b6a07596aaa96d9c7

Contents?: true

Size: 300 Bytes

Versions: 15

Compression:

Stored size: 300 Bytes

Contents

module Wobauth

  class FailureApp < Devise::FailureApp

    def redirect_url
      wobauth.new_user_session_url
    end
     #
    #  # You need to override respond to eliminate recall
    def respond
      if http_auth?
        http_auth
      else
        redirect
      end
    end

   end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wobauth-6.0.1 config/initializers/devise_failure_app.rb
wobauth-6.0.0 config/initializers/devise_failure_app.rb
wobauth-5.1.3 config/initializers/devise_failure_app.rb
wobauth-5.1.2 config/initializers/devise_failure_app.rb
wobauth-5.1.1 config/initializers/devise_failure_app.rb
wobauth-5.1.0 config/initializers/devise_failure_app.rb
wobauth-5.0.2 config/initializers/devise_failure_app.rb
wobauth-5.0.1 config/initializers/devise_failure_app.rb
wobauth-5.0.0 config/initializers/devise_failure_app.rb
wobauth-4.0.0 config/initializers/devise_failure_app.rb
wobauth-3.4.8 config/initializers/devise_failure_app.rb
wobauth-3.4.7 config/initializers/devise_failure_app.rb
wobauth-3.4.6 config/initializers/devise_failure_app.rb
wobauth-3.4.5 config/initializers/devise_failure_app.rb
wobauth-3.4.4 config/initializers/devise_failure_app.rb