mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 01:36:02 +02:00
parent
ba341ee411
commit
940613ae34
8 changed files with 13 additions and 57 deletions
|
@ -115,7 +115,7 @@ class EppController < ApplicationController
|
|||
end
|
||||
|
||||
def current_user
|
||||
@current_user ||= ApiUser.find_by_id(epp_session[:api_user_id])
|
||||
@current_user ||= epp_session.user
|
||||
# by default PaperTrail uses before filter and at that
|
||||
# time current_user is not yet present
|
||||
::PaperTrail.whodunnit = user_log_str(@current_user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue