mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Check IP in registrar
This commit is contained in:
parent
19e133ec6a
commit
940355a417
4 changed files with 33 additions and 2 deletions
|
@ -84,7 +84,7 @@ module Depp
|
|||
res = server.send_request(xml)
|
||||
|
||||
if Nokogiri::XML(res).css('result').first['code'] != '1000'
|
||||
errors.add(:base, :authorization_error)
|
||||
errors.add(:base, Nokogiri::XML(res).css('result').text)
|
||||
end
|
||||
|
||||
server.close_connection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue