mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Do not allow foreign domain renew #2629
This commit is contained in:
parent
c1b5fc8265
commit
1db3486e65
3 changed files with 17 additions and 2 deletions
|
@ -77,7 +77,7 @@ class Epp::DomainsController < EppController
|
|||
end
|
||||
|
||||
def renew
|
||||
authorize! :renew, Epp::Domain
|
||||
authorize! :renew, @domain
|
||||
|
||||
handle_errors(@domain) and return unless @domain.renew(
|
||||
params[:parsed_frame].css('curExpDate').text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue