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

@@ -194,6 +194,18 @@ Just change the value of `LDAP_ACCOUNT_CREATION` to `false`:
define('LDAP_ACCOUNT_CREATION', false);
```
Synchronization
---------------
By default, Kanboard will synchronize all fields (role, name, email...) except the username.
If you would like to change this behavior, use this config parameter:
```bash
// This example will not synchronize the fields "username" and "role" from LDAP to Kanboard.
define('EXTERNAL_AUTH_EXCLUDE_FIELDS', 'username,role');
```
Troubleshooting
---------------