mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Remove ForceDelete from statuses blocking confirmation
This commit is contained in:
parent
083be0d536
commit
269c5c284f
2 changed files with 13 additions and 1 deletions
|
@ -384,7 +384,7 @@ class Domain < ApplicationRecord
|
|||
end
|
||||
|
||||
def registrant_update_confirmable?(token)
|
||||
return false if (statuses & [DomainStatus::FORCE_DELETE, DomainStatus::DELETE_CANDIDATE]).any?
|
||||
return false if statuses.include? DomainStatus::DELETE_CANDIDATE
|
||||
return false unless pending_update?
|
||||
return false unless registrant_verification_asked?
|
||||
return false unless registrant_verification_token == token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue