Force legacy mode, instance level and user level

This commit is contained in:
Pablo Ferreiro 2022-03-11 20:50:11 +01:00
parent db3799c344
commit 73dd93420f
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
9 changed files with 40 additions and 12 deletions

View file

@ -0,0 +1,12 @@
<form action="{path('/settings/api')}" method="POST">
<div class="field">
<label class="checkbox">
<input name="api-legacy" type="checkbox" checked="{isset($_COOKIE['api-legacy']) ? 'true' : 'false'}">Enable legacy mode
</label>
</div>
<div class="field">
<div class="control">
<button class="button is-success" type="submit">Submit</button>
</div>
</div>
</form>