diff options
-rw-r--r-- | lib/mauve/web_interface.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb index 4c53cc8..2d67957 100644 --- a/lib/mauve/web_interface.rb +++ b/lib/mauve/web_interface.rb @@ -57,7 +57,13 @@ module Mauve # # Phew, we're authenticated # - @person = Configuration.current.people[session['username']] + @person = Configuration.current.people[session['username'].to_s] + + # + # Set remote user for logging. + # + env['REMOTE_USER'] = @person.username + # # Set up some defaults. # |