Sha256: c5d80dd85511882cb8dcf17d94adbde376326e4ba2af5a4cdd0a6f9e2efe7d48

Contents?: true

Size: 289 Bytes

Versions: 27

Compression:

Stored size: 289 Bytes

Contents

class Users::SessionsController < Devise::SessionsController

  def new
    store_location_for(:user, request.referrer)
    if Ddr::Auth.require_shib_user_authn
      flash.discard(:alert)
      redirect_to user_omniauth_authorize_path(:shibboleth)
    else
      super
    end
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ddr-models-2.11.0 app/controllers/users/sessions_controller.rb
ddr-models-2.10.2 app/controllers/users/sessions_controller.rb
ddr-models-2.10.1 app/controllers/users/sessions_controller.rb
ddr-models-2.10.0 app/controllers/users/sessions_controller.rb
ddr-models-2.10.0.rc2 app/controllers/users/sessions_controller.rb
ddr-models-2.10.0.rc1 app/controllers/users/sessions_controller.rb
ddr-models-2.9.2 app/controllers/users/sessions_controller.rb
ddr-models-2.9.1 app/controllers/users/sessions_controller.rb
ddr-models-2.9.0 app/controllers/users/sessions_controller.rb
ddr-models-2.9.0.rc1 app/controllers/users/sessions_controller.rb
ddr-models-2.8.0 app/controllers/users/sessions_controller.rb
ddr-models-2.8.0.rc1 app/controllers/users/sessions_controller.rb
ddr-models-2.7.6 app/controllers/users/sessions_controller.rb
ddr-models-2.7.5 app/controllers/users/sessions_controller.rb
ddr-models-2.7.4 app/controllers/users/sessions_controller.rb
ddr-models-2.7.3 app/controllers/users/sessions_controller.rb
ddr-models-2.7.2 app/controllers/users/sessions_controller.rb
ddr-models-2.7.1 app/controllers/users/sessions_controller.rb
ddr-models-2.7.0 app/controllers/users/sessions_controller.rb
ddr-models-2.7.0.rc1 app/controllers/users/sessions_controller.rb