Allow changing auth info on contact update #2833

This commit is contained in:
Martin Lensment 2015-08-13 14:20:39 +03:00
parent ba5d1b8e4d
commit 2598b4aa2f
5 changed files with 40 additions and 24 deletions

View file

@ -60,7 +60,7 @@ class Epp::ContactsController < EppController
def find_contact
code = params[:parsed_frame].css('id').text.strip.upcase
@contact = Epp::Contact.find_by_epp_code(code)
if @contact.blank?