Add config option to exclude fields from auth providers sync

This commit is contained in:
Frédéric Guillot
2017-11-28 16:29:49 -08:00
parent 436673247f
commit 6d2076e859
5 changed files with 24 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
Config file
Config File
===========
You can customize the default settings of Kanboard by adding a file `config.php` at the project root or in the `data` folder.
@@ -273,7 +273,7 @@ define('LOG_FILE', __DIR__.DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'debug
```
Brute-force protection
---------------------
----------------------
```php
// Enable captcha after 3 authentication failure
@@ -338,4 +338,7 @@ define('TOTP_ISSUER', 'Kanboard');
// Maximum number of events stored in the table "project_activities"
define('PROJECT_ACTIVITIES_MAX_EVENTS', 10000);
// Comma separated list of fields to not synchronize when using external authentication providers
define('EXTERNAL_AUTH_EXCLUDE_FIELDS', 'username');
```