mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 16:54:02 +02:00
Website generation with Couscous
This commit is contained in:
@@ -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' => [
|
||||
'handler' => '\Filegator\Services\Auth\Adapters\Database',
|
||||
'config' => [
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user