Change upload size config value to integer
This commit is contained in:
parent
e24075d055
commit
58aac88f7e
@ -246,7 +246,7 @@ export default class ConfigDialogModel extends ViewModel {
|
|||||||
<option value="3"${this.model.passStrength === 3 ? ' selected' : ''}>paSsword1#</option>
|
<option value="3"${this.model.passStrength === 3 ? ' selected' : ''}>paSsword1#</option>
|
||||||
</select></label>
|
</select></label>
|
||||||
<label><b>${$._('uploadmaxsize')}</b>
|
<label><b>${$._('uploadmaxsize')}</b>
|
||||||
<input type="number" data-bind="uploadMaxSizeMB" min="0.1" step="0.1" value="${this.model.uploadMaxSizeMB}" required></label>
|
<input type="number" data-bind="uploadMaxSizeMB" min="1" value="${this.model.uploadMaxSizeMB}" required></label>
|
||||||
<label><b>${$._('requireauth')}</b>
|
<label><b>${$._('requireauth')}</b>
|
||||||
<input type="checkbox" data-bind="requireAuth"${this.model.requireAuth ? ' checked' : ''}></label>
|
<input type="checkbox" data-bind="requireAuth"${this.model.requireAuth ? ' checked' : ''}></label>
|
||||||
<label><b>${$._('publictracks')}</b>
|
<label><b>${$._('publictracks')}</b>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user