Start of work on templates - identify templates that apply to existing entries

This commit is contained in:
2025-06-09 14:26:01 +10:00
parent 8602c2b17f
commit 820f398c2c
11 changed files with 305 additions and 41 deletions

10
config/filesystems.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
return [
'disks' => [
'templates' => [
'driver' => 'local',
'root' => base_path(env('LDAP_TEMPLATE_DIR','templates')),
],
],
];

View File

@@ -76,4 +76,8 @@ return [
'attr' => [env('LDAP_LOGIN_ATTR','uid') => env('LDAP_LOGIN_ATTR_DESC','User ID')], // Attribute used to find user for login
'objectclass' => explode(',',env('LDAP_LOGIN_OBJECTCLASS', 'posixAccount')), // Objectclass that users must contain to login
],
'template' => [
'dir' => env('LDAP_TEMPLATE_DRIVER','templates'),
],
];