Merge pull request #1301 from internetee/remove-mod-epp-header

Remove EPP response header
This commit is contained in:
Timo Võhmar 2019-09-13 14:47:49 +03:00 committed by GitHub
commit e68d37704d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -22,7 +22,6 @@ class EppController < ApplicationController
code: 2001,
msg: error
}
response.headers['X-EPP-Returncode'] = '2200'
end
handle_errors and return if epp_errors.any?
end
@ -371,7 +370,6 @@ class EppController < ApplicationController
if session_timeout_reached?
@api_user = current_user # cache current_user for logging
epp_session.destroy
response.headers['X-EPP-Returncode'] = '1500'
epp_errors << {
msg: t('session_timeout'),