Implemented caching of our base_dn

This commit is contained in:
Deon George
2023-01-28 23:07:39 +11:00
parent 210793e814
commit 413f1ec065
6 changed files with 97 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ class HomeController extends Controller
*/
public function home()
{
$base = (new Entry)->baseDN() ?: collect();
$base = (new Entry)->baseDNs() ?: collect();
return view('home')
->with('server',config('ldap.connections.default.name'))