0
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-04 16:26:24 +00:00
RSS-Bridge_rss-bridge/templates/token.html.php
Dag 3fc38c15a3
fix: cache 400 and 404, and refactor token auth (#4388)
* fix(cache): also cache 400 and 404 responses

* refactor(token_auth)
2025-01-03 06:19:24 +01:00

20 lines
407 B
PHP

<?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>