Closed bukyo closed 3 months ago
works for me:
diff -u config.default.ini.php config.ini.php
--- config.default.ini.php 2024-03-29 15:28:57.989402880 +0100
+++ config.ini.php 2024-03-29 15:30:33.056804898 +0100
@@ -33,7 +33,7 @@
timezone = "UTC"
; Display a system message to users.
-message = ""
+message = "yes"
; Whether to enable debug mode.
enable_debug_mode = false
@@ -112,9 +112,9 @@
[authentication]
; HTTP basic authentication
-enable = false
-username = "admin"
-password = ""
+enable = true
+username = "kek"
+password = "kek"
; Token authentication (URL)
token = ""
curl -i http://127.0.0.1:81/
HTTP/1.1 401 Unauthorized
Server: nginx/1.22.1
Date: Fri, 29 Mar 2024 14:34:13 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
www-authenticate: Basic realm="RSS-Bridge"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="RSS-Bridge" />
<title>RSS-Bridge</title>
<link href="static/style.css?2023-03-24" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">
<script src="static/rss-bridge.js"></script>
</head>
<body>
<div class="container">
<header>
<a href="./">
<img width="400" src="static/logo_600px.png">
</a>
</header>
<div class="alert-info">
yes </div>
<p>
Please authenticate in order to access this instance!</p>
</div>
</body>
</html>
let me know if this still is a problem
Describe the bug After updating the config.ini.php file to
I'm unable to log in to he instance. The user and pass don't appear to be recognised, and I'm represented with the log in prompt with no message. I have tried also using access_token but that won't work either.
To Reproduce Steps to reproduce the behaviour:
I had updated the
message = "test 123"
to ensure the config.ini/php was being used, and this does show in a blue box on the page, so I'm comfortable the file is being referenced.Expected behavior I expect to log in after entering the correct username and password (matching those entered in config.ini.php).
Desktop (please complete the following information):
Additional context It's a new install and appears to work fine with authentication off.