Do not validate domain presence in dnskey

This commit is contained in:
Martin Lensment 2015-02-02 18:28:57 +02:00
parent ea28a351d6
commit f6bd518750
3 changed files with 33 additions and 32 deletions

View file

@ -23,9 +23,9 @@ class EppController < ApplicationController
def current_api_user
@current_api_user ||= ApiUser.find_by_id(epp_session[:api_user_id])
# by default PaperTrail uses before filter and at that
# by default PaperTrail uses before filter and at that
# time current_api_user is not yet present
::PaperTrail.whodunnit = api_user_log_str(@current_api_user)
::PaperTrail.whodunnit = api_user_log_str(@current_api_user)
::PaperSession.session = epp_session.session_id if epp_session.session_id.present?
@current_api_user
end