From f5e2553396be69ae1e0ad6971e3c56f5abe656d2 Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Tue, 18 Jun 2019 15:47:07 +0200 Subject: [PATCH] Website generation with Couscous --- configuration/auth.html | 2 +- configuration/logging.html | 1 + configuration/security.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration/auth.html b/configuration/auth.html index 1bec848..73216a5 100644 --- a/configuration/auth.html +++ b/configuration/auth.html @@ -120,7 +120,7 @@ VALUES ('guest', 'Guest', 'guest', '', '/', ''), ('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq'); -

Ath the end, open configuration.php and update Auth handler under section services to something like this:

+

At the end, open configuration.php and update Auth handler under section services to something like this:

        'Filegator\Services\Auth\AuthInterface' => [
             'handler' => '\Filegator\Services\Auth\Adapters\Database',
             'config' => [
diff --git a/configuration/logging.html b/configuration/logging.html
index 43fa91a..11a26af 100644
--- a/configuration/logging.html
+++ b/configuration/logging.html
@@ -117,6 +117,7 @@
                 ],
             ],
         ],
+

There are many different handlers you can use. Some of them are listed here.

diff --git a/configuration/security.html b/configuration/security.html index 7782e9c..032c27f 100644 --- a/configuration/security.html +++ b/configuration/security.html @@ -119,6 +119,7 @@ ], ], ], +

If you set ip_whitelist then only users coming from listed IP addresses will be able to use the script.