[Web] Fix setting a rate limit when adding a domain
parent
d28fd4070b
commit
1dea230b7b
|
@ -416,7 +416,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!empty(intval($_data['rl_value']))) {
|
if (!empty(intval($_data['rl_value']))) {
|
||||||
ratelimit('edit', 'domain', array('rl_value' => $rl_value, 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
|
ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
|
||||||
}
|
}
|
||||||
if (!empty($restart_sogo)) {
|
if (!empty($restart_sogo)) {
|
||||||
$restart_reponse = json_decode(docker('post', 'sogo-mailcow', 'restart'), true);
|
$restart_reponse = json_decode(docker('post', 'sogo-mailcow', 'restart'), true);
|
||||||
|
|
Loading…
Reference in New Issue