Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-18 15:47:07 +02:00
parent 16c7e6b53c
commit f5e2553396
3 changed files with 3 additions and 1 deletions

View File

@@ -120,7 +120,7 @@
VALUES
('guest', 'Guest', 'guest', '', '/', ''),
('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq');</code></pre>
<p>Ath the end, open <code>configuration.php</code> and update Auth handler under section <code>services</code> to something like this:</p>
<p>At the end, open <code>configuration.php</code> and update Auth handler under section <code>services</code> to something like this:</p>
<pre><code> 'Filegator\Services\Auth\AuthInterface' =&gt; [
'handler' =&gt; '\Filegator\Services\Auth\Adapters\Database',
'config' =&gt; [

View File

@@ -117,6 +117,7 @@
],
],
],</code></pre>
<p>There are many different handlers you can use. Some of them are listed <a href="https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.html#handlers">here</a>.</p>
</section>
</div>

View File

@@ -119,6 +119,7 @@
],
],
],</code></pre>
<p>If you set <code>ip_whitelist</code> then only users coming from listed IP addresses will be able to use the script.</p>
</section>
</div>