Move PLA configurable items to config/pla.php
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m22s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 3m30s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2025-01-18 21:54:21 +11:00
parent 2445cac6a6
commit d1b4334870
6 changed files with 58 additions and 58 deletions

View File

@@ -16,7 +16,7 @@ class LoginObjectclassRule implements Rule
{
public function passes(LdapRecord $user, Eloquent $model = null): bool
{
if ($x=config('ldap.login.objectclass')) {
if ($x=config('pla.login.objectclass')) {
return count(array_intersect($user->objectclass,$x));
// Otherwise allow the user to login