diff options
| author | 2020-06-19 23:01:19 +0200 | |
|---|---|---|
| committer | 2020-06-19 23:01:19 +0200 | |
| commit | 5c9d6a5396eb43739eb1c17540228c20a16f4554 (patch) | |
| tree | 910049573ec011c18d3ca90510875d89780eacec /config.default.php | |
| parent | baaef3d9f4bdc81224620ab2f6b92575dcf81a59 (diff) | |
Add auto-registration when using http_auth (#3003)
* Add auto-registration when using http_auth
* Document HTTP auth auto-registration
* Check email variable for HTTP auth auto-registration
* Auto-create HTTP users by default
* Fix Context init
(I will provide in another PR a better fix requiring a bit of global refactoring)
* Init language
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'config.default.php')
| -rw-r--r-- | config.default.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config.default.php b/config.default.php index 49869f7ac..b55aca9ad 100644 --- a/config.default.php +++ b/config.default.php @@ -55,6 +55,13 @@ return array( # and in particular not protect `/FreshRSS/p/api/` if you would like to use the API (different login system). 'auth_type' => 'form', + # When using http_auth, automatically register any unknown user + 'http_auth_auto_register' => true, + + # Optionally, you can specify the $_SERVER key containing the email address used when registering + # the user (e.g. REMOTE_USER_EMAIL). + 'http_auth_auto_register_email_field' => '', + # Allow or not the use of the API, used for mobile apps. # End-point is https://freshrss.example.net/api/greader.php # You need to set the user's API password. @@ -102,7 +109,7 @@ return array( # Max number of categories for a user. 'max_categories' => 16384, - # Max number of accounts that anonymous users can create + # Max number of accounts that anonymous users can create (only for Web form login type) # 0 for an unlimited number of accounts # 1 is to not allow user registrations (1 is corresponding to the admin account) 'max_registrations' => 1, |
