mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Remove unneeded if
statement
epp_session.session_id is always present #700
This commit is contained in:
parent
1c560b1748
commit
d5b96060e0
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class EppController < ApplicationController
|
||||||
# by default PaperTrail uses before filter and at that
|
# by default PaperTrail uses before filter and at that
|
||||||
# time current_user is not yet present
|
# time current_user is not yet present
|
||||||
::PaperTrail.whodunnit = user_log_str(@current_user)
|
::PaperTrail.whodunnit = user_log_str(@current_user)
|
||||||
::PaperSession.session = epp_session.session_id if epp_session.session_id.present?
|
::PaperSession.session = epp_session.session_id
|
||||||
@current_user
|
@current_user
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue