Commit a245a038177acd09d5383e27498229a80b20bcfc

Authored by Lucas Kanashiro
1 parent c32fed8d

Remove debug commands

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
lib/omniauth/strategies/remote_user.rb
... ... @@ -10,7 +10,6 @@ module OmniAuth
10 10  
11 11 def call(env)
12 12 remote_user = env['HTTP_REMOTE_USER']
13   - $stderr.puts('Remote-User: %s' % (remote_user || '(none'))
14 13 session_user = __current_user(env)
15 14 if remote_user
16 15 if session_user
... ... @@ -37,7 +36,6 @@ module OmniAuth
37 36 end
38 37  
39 38 def __logout(env)
40   - $stderr.puts 'LOGOUT'
41 39 request = Rack::Request.new(env)
42 40 response = redirect_if_not_logging_in(request, request.path)
43 41 if response
... ... @@ -48,7 +46,6 @@ module OmniAuth
48 46 end
49 47  
50 48 def __login(env, uid)
51   - $stderr.puts 'LOGIN (%s)' % uid
52 49 request = Rack::Request.new(env)
53 50 response = redirect_if_not_logging_in(request, '/auth/remoteuser')
54 51 if response
... ...