mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Story #104525314 - clean up, remove dev hacks, allow dev to verify end user experience
This commit is contained in:
parent
3d7f8e2866
commit
ea230e70ca
1 changed files with 0 additions and 2 deletions
|
@ -448,7 +448,6 @@ class Domain < ActiveRecord::Base
|
|||
|
||||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
def registrant_update_confirmable?(token)
|
||||
return true if Rails.env.development?
|
||||
return false if (statuses & [DomainStatus::FORCE_DELETE, DomainStatus::DELETE_CANDIDATE]).any?
|
||||
return false unless pending_update?
|
||||
return false if registrant_verification_token.blank?
|
||||
|
@ -459,7 +458,6 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def registrant_delete_confirmable?(token)
|
||||
return true if Rails.env.development?
|
||||
return false unless pending_delete?
|
||||
return false if registrant_verification_token.blank?
|
||||
return false if registrant_verification_asked_at.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue