Rename our configuration keys to ldap/ldaps/startls, they are not openldap specific

This commit is contained in:
2025-03-07 08:20:20 +11:00
parent c588e13bd8
commit 732f777c75
2 changed files with 10 additions and 5 deletions

View File

@@ -25,6 +25,9 @@ class SwapinAuthUser
{
$key = config('ldap.default');
if (! array_key_exists($key,config('ldap.connections')))
abort(599,sprintf('LDAP default server [%s] configuration doesnt exist?',$key));
/*
// Rebuild our connection with the authenticated user.
if (Session::has('username_encrypt') && Session::has('password_encrypt')) {