2019-06-01 14:08:00 +02:00
|
|
|
<?php
|
2019-06-01 16:15:49 +02:00
|
|
|
$conf = array();
|
2019-06-01 14:08:00 +02:00
|
|
|
|
|
|
|
// Enables (true) or disables (false) the plugin
|
|
|
|
$conf['update_on_login'] = true;
|
|
|
|
|
|
|
|
// Remove identities for which the email address is unknown for this user
|
2019-06-01 16:15:49 +02:00
|
|
|
$conf['remove_unknown_identities'] = true;
|
2019-06-01 14:08:00 +02:00
|
|
|
|
|
|
|
// Connection to the database which holds user aliases information
|
|
|
|
$conf['dsn'] = '';
|
|
|
|
|
|
|
|
// Query all aliases for a given user. '%u' will be replaced with the username.
|
|
|
|
// Example : SELECT aliases.email FROM aliases LEFT JOIN users ON aliases.user_id=users.id WHERE users.name="%u"
|
2019-06-01 16:15:49 +02:00
|
|
|
$conf['identities_query'] = '';
|
|
|
|
|
|
|
|
// Finally register to the global config
|
|
|
|
$config['identity_db'] = $conf;
|