aboutsummaryrefslogtreecommitdiff
path: root/templates/token.html.php
blob: 43c60972c05f63fb5e8f943ff9ec8da9c270493d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * This template renders a form for user to enter a auth token if it's enabled
 */

?>

<h1>
    Authentication with token required
</h1>

<p>
    <?= e($message) ?>
</p>

<form action="" method="get" autocomplete="off">
    <label for="token">Token:</label>
    <input type="text" name="token" id="token" placeholder="token" value="<?= e($token) ?>">
    <input type="submit" value="OK">
</form>