Sha256: b446b66f5ee23a08c69e177c80b18083613861be92fcf0cf5a65e8ca009f1dcf

Contents?: true

Size: 305 Bytes

Versions: 43

Compression:

Stored size: 305 Bytes

Contents

require 'devise'

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_shibboleth_omniauth_authorize_path
    else
      super
    end
  end

end

Version data entries

43 entries across 43 versions & 1 rubygems

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