1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-24 09:02:59 +02:00

feat: token authentication (#3927)

This commit is contained in:
Dag
2024-01-25 18:20:02 +01:00
committed by GitHub
parent d08d13f2c8
commit e58c867a82
13 changed files with 95 additions and 138 deletions

20
templates/token.html.php Normal file
View File

@@ -0,0 +1,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">
<label for="token">Token:</label>
<input type="password" name="token" id="token" placeholder="token">
<input type="submit" value="OK">
</form>