mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Merge branch 'master' into registry-661
This commit is contained in:
commit
8b46d1ab25
6 changed files with 32 additions and 1 deletions
|
@ -88,6 +88,7 @@ class EppController < ApplicationController
|
|||
|
||||
# SESSION MANAGEMENT
|
||||
def epp_session
|
||||
cookies # Probably does some initialization
|
||||
cookie = env['rack.request.cookie_hash'] || {}
|
||||
EppSession.find_or_initialize_by(session_id: cookie['session'])
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@ module Concerns::Contact::Transferable
|
|||
new_contact.regenerate_code
|
||||
new_contact.regenerate_auth_info
|
||||
new_contact.remove_address unless self.class.address_processing?
|
||||
new_contact.save!
|
||||
new_contact.save(validate: false)
|
||||
new_contact
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue