##// END OF EJS Templates
Log current user on each request....
Jean-Philippe Lang -
r10156:3b5fd45faecb
parent child
Show More
@@ -82,6 +82,7 class ApplicationController < ActionController::Base
82 82 Setting.check_cache
83 83 # Find the current user
84 84 User.current = find_current_user
85 logger.info(" Current user: " + (User.current.logged? ? "#{User.current.login} (id=#{User.current.id})" : "anonymous")) if logger
85 86 end
86 87
87 88 # Returns the current user or nil if no user is logged in
General Comments 0
You need to be logged in to leave comments. Login now