[Web] Allow mins_interval of max 1 month for sync jobs, fixes #3642

This commit is contained in:
andryyy
2020-07-08 19:36:05 +02:00
parent 8d03834549
commit 2d049f37da
5 changed files with 10 additions and 10 deletions

View File

@@ -1243,8 +1243,8 @@ if (isset($_SESSION['mailcow_cc_role'])) {
<div class="form-group">
<label class="control-label col-sm-2" for="mins_interval"><?=$lang['edit']['mins_interval'];?></label>
<div class="col-sm-10">
<input type="number" class="form-control" name="mins_interval" min="1" max="3600" value="<?=htmlspecialchars($result['mins_interval'], ENT_QUOTES, 'UTF-8');?>" required>
<small class="help-block">1-3600</small>
<input type="number" class="form-control" name="mins_interval" min="1" max="43800" value="<?=htmlspecialchars($result['mins_interval'], ENT_QUOTES, 'UTF-8');?>" required>
<small class="help-block">1-43800</small>
</div>
</div>
<div class="form-group">