Pass the settings object to all plugins.

This commit is contained in:
Mark J Crane
2025-10-23 09:38:29 -06:00
parent 126779190f
commit 5eb560d9fa
4 changed files with 65 additions and 63 deletions

View File

@@ -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"]) {