Files
Kanboard-Prod/app/Template/config/api.php
Frédéric Guillot 3824e6e9aa Fix potential XSS on the Settings / API page
The CSP policy already prevent the execution of inline Javascript.
2023-01-06 12:25:57 -08:00

19 lines
511 B
PHP

<div class="page-header">
<h2><?= t('API') ?></h2>
</div>
<div class="panel">
<ul>
<li>
<?= t('API token:') ?>
<strong><?= $this->text->e($values['api_token']) ?></strong>
</li>
<li>
<?= t('API endpoint:') ?>
<strong><?= $this->text->e($this->url->base()).'jsonrpc.php' ?></strong>
</li>
</ul>
</div>
<?= $this->url->link(t('Reset token'), 'ConfigController', 'token', array('type' => 'api'), true, 'btn btn-red') ?>