mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Pass the settings object to all plugins.
This commit is contained in:
@@ -31,7 +31,7 @@ class plugin_ldap {
|
||||
* ldap checks a local or remote ldap database to authenticate the user
|
||||
* @return array [authorized] => true or false
|
||||
*/
|
||||
function ldap() {
|
||||
function ldap(authentication $auth, settings $settings) {
|
||||
|
||||
//show the authentication code view
|
||||
if ($_REQUEST["username"]) {
|
||||
|
||||
Reference in New Issue
Block a user