[Web] Allow to set rate limit in add_domain modal

[Web] Cleanup rate limits when deleting objects
This commit is contained in:
André
2018-08-21 21:06:22 +02:00
parent d64a89473e
commit d28fd4070b
5 changed files with 45 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ function ratelimit($_action, $_scope, $_data = null) {
$_SESSION['return'][] = array(
'type' => 'success',
'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
'msg' => array('object_modified', $object)
'msg' => array('rl_saved', $object)
);
}
break;
@@ -123,7 +123,7 @@ function ratelimit($_action, $_scope, $_data = null) {
$_SESSION['return'][] = array(
'type' => 'success',
'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
'msg' => array('object_modified', $object)
'msg' => array('rl_saved', $object)
);
}
break;