diff options
Diffstat (limited to 'vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb')
-rwxr-xr-x | vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb b/vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb index 7e3829b9b95..7126d8328e0 100755 --- a/vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb +++ b/vendor/gems/omniauth_crowd/lib/omniauth/strategies/crowd.rb @@ -17,15 +17,7 @@ module OmniAuth protected def request_phase - if env['REQUEST_METHOD'] == 'GET' - - if @configuration.use_sessions? && request.cookies[@configuration.session_cookie] - redirect callback_url - else - get_credentials - end - - elsif (env['REQUEST_METHOD'] == 'POST') && (not request.params['username']) + if (env['REQUEST_METHOD'] == 'POST') && (not request.params['username']) get_credentials else session['omniauth.crowd'] = {'username' => request['username'], 'password' => request['password']} |