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:
20
templates/token.html.php
Normal file
20
templates/token.html.php
Normal 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>
|
Reference in New Issue
Block a user