Commit 2af55f0f authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#513] Check the owner ofthe domain

parent 90de86d4
......@@ -51,6 +51,7 @@ sub create_domain {
, id_base => $args{id_base} );
if ($args{id_base}) {
my $owner = Ravada::Auth::SQL->search_by_id($args{id_owner});
my $domain_base = $self->search_domain_by_id($args{id_base});
confess "I can't find base domain id=$args{id_base}" if !$domain_base;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment