Skip to content

Commit

Permalink
Where does request originate
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Dec 19, 2023
1 parent e3186ef commit 24c9f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whimsy/asf/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << env; attr_accessor :user, :password; end

if auth.to_s.empty?
env.user = env['REMOTE_USER'] || ENV['USER'] || Etc.getpwuid.name
Wunderbar.warn "No auth found for #{env.user}"
Wunderbar.warn "No auth found for #{env.user} at #{caller[0..2]}"
else
require 'base64'
env.user, env.password = Base64.
Expand Down

0 comments on commit 24c9f45

Please sign in to comment.