mirror of
https://github.com/filegator/filegator.git
synced 2025-08-05 10:57:24 +02:00
fix
This commit is contained in:
@@ -24,7 +24,7 @@ VALUES
|
|||||||
('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq');
|
('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' => [
|
'Filegator\Services\Auth\AuthInterface' => [
|
||||||
|
@@ -20,3 +20,5 @@ Default logger handler will use ```/private/logs/app.log``` file to store applic
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
There are many different handlers you can use. Some of them are listed [here](https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md#handlers).
|
||||||
|
@@ -7,7 +7,6 @@ Simple security service is included in the script by default. This service provi
|
|||||||
- IP whitelisting
|
- IP whitelisting
|
||||||
- IP blacklisting
|
- IP blacklisting
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
'Filegator\Services\Security\Security' => [
|
'Filegator\Services\Security\Security' => [
|
||||||
'handler' => '\Filegator\Services\Security\Security',
|
'handler' => '\Filegator\Services\Security\Security',
|
||||||
@@ -21,3 +20,5 @@ Simple security service is included in the script by default. This service provi
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you set ```ip_whitelist``` then only users coming from listed IP addresses will be able to use the script.
|
||||||
|
Reference in New Issue
Block a user