Change EPP response code according to its specification

Fixes #587
This commit is contained in:
Artur Beljajev 2019-09-13 21:06:23 +03:00 committed by Alex Sherman
parent 744d6a2b53
commit daeb00ebe7
4 changed files with 7 additions and 3 deletions

View file

@ -79,8 +79,8 @@ module Epp
if success && EppSession.limit_reached?(@api_user.registrar)
epp_errors << {
msg: 'Authentication error; server closing connection (connection limit reached)',
code: '2501'
msg: 'Session limit exceeded; server closing connection (connection limit reached)',
code: '2502',
}
success = false