mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<input type="hidden" name="timestamp" />
|
<input type="hidden" name="timestamp" />
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="uid">[[admin/settings/api:uid]]</label>
|
<label for="uid">[[admin/settings/api:uid]]</label>
|
||||||
<input type="number" name="uid" class="form-control" placeholder="1" min="0" />
|
<input type="text" inputmode="numeric" pattern="\d+" name="uid" class="form-control" placeholder="1" />
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
[[admin/settings/api:uid-help-text]]
|
[[admin/settings/api:uid-help-text]]
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="hsts-maxage">[[admin/settings/advanced:hsts.maxAge]]</label>
|
<label for="hsts-maxage">[[admin/settings/advanced:hsts.maxAge]]</label>
|
||||||
<input class="form-control" id="hsts-maxage" type="text" pattern="\d+" placeholder="31536000" data-field="hsts-maxage" /><br />
|
<input class="form-control" id="hsts-maxage" type="number" placeholder="31536000" data-field="hsts-maxage" /><br />
|
||||||
</div>
|
</div>
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
||||||
|
|||||||
Reference in New Issue
Block a user