From 865b04d0a90196f719cf4256b32ad9c6f55f80ea Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Tue, 1 Aug 2017 00:45:48 +0200 Subject: [PATCH] Reference the wiki for configuration and authentication --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 309c8f2..fe9a874 100644 --- a/README.md +++ b/README.md @@ -57,22 +57,9 @@ By default, it is not allowed to show or edit the `.htaccess` file. This is beca * Enter - open a file or change to the directory ## configuration -The configuration is located at the top of the script. The options are commented and named laconically. If you have any questions [write me an email](mailto:marco@misterunknown.de). +See [configuration](https://github.com/misterunknown/ifm/wiki/Configuration). ### authentication -The IFM offers a simple authentication feature using the configuration keys `auth` and `auth_source`. You can configure it like this: -```php - "auth" => 1, - "auth_source" => 'inline;:', -``` -In the example above the user and password are declared inline. You can also use a file (which should lie out of the $DocumentRoot of the webserver): -```php - "auth_source" => 'file;/path/to/file', -``` -The file should contain ONLY ONE LINE: -``` -: -``` -The password hash has to be a hash generated by PHPs `password_hash()` function. The default credentials are "admin:admin". +See [authentication](https://github.com/misterunknown/ifm/wiki/Authentication). ## docker