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.6.2 app/controllers/users/sessions_controller.rb
ddr-models-2.6.1 app/controllers/users/sessions_controller.rb
ddr-models-2.6.0 app/controllers/users/sessions_controller.rb
ddr-models-2.6.0.rc4 app/controllers/users/sessions_controller.rb
ddr-models-2.6.0.rc3 app/controllers/users/sessions_controller.rb
ddr-models-2.6.0.rc2 app/controllers/users/sessions_controller.rb
ddr-models-2.6.0.rc1 app/controllers/users/sessions_controller.rb