mirror of
https://github.com/filegator/filegator.git
synced 2025-08-15 04:33:59 +02:00
Website generation with Couscous
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
VALUES
|
VALUES
|
||||||
('guest', 'Guest', 'guest', '', '/', ''),
|
('guest', 'Guest', 'guest', '', '/', ''),
|
||||||
('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq');</code></pre>
|
('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' => [
|
<pre><code> 'Filegator\Services\Auth\AuthInterface' => [
|
||||||
'handler' => '\Filegator\Services\Auth\Adapters\Database',
|
'handler' => '\Filegator\Services\Auth\Adapters\Database',
|
||||||
'config' => [
|
'config' => [
|
||||||
|
@@ -117,6 +117,7 @@
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
],</code></pre>
|
],</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>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@@ -119,6 +119,7 @@
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
],</code></pre>
|
],</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>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user