File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 1010#
1111# @see https://github.com/omniauth/omniauth
1212class SessionsController < ApplicationController
13- # Redirect the user to Calnet for authentication
14- def new
15- redirect_args = { origin : params [ :url ] || root_path } . to_query
16- redirect_to "/auth/calnet?#{ redirect_args } "
17- end
1813
1914 # Generate a new user session using data returned from a valid Calnet login
2015 def callback
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ def without_redirects
8585
8686 def log_in_with_omniauth ( auth_hash )
8787 OmniAuth . config . mock_auth [ :calnet ] = auth_hash
88- without_redirects { do_get login_path }
8988
9089 Rails . application . env_config [ 'omniauth.auth' ] = auth_hash
9190 do_get omniauth_callback_path ( :calnet )
You can’t perform that action at this time.
0 commit comments