@@ -82,6 +82,7 class ApplicationController < ActionController::Base | |||||
82 | Setting.check_cache |
|
82 | Setting.check_cache | |
83 | # Find the current user |
|
83 | # Find the current user | |
84 | User.current = find_current_user |
|
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 | end |
|
86 | end | |
86 |
|
87 | |||
87 | # Returns the current user or nil if no user is logged in |
|
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