ckfinder.yml not taken into account - Auth not working (BLOCKER)
Closed this issue · 1 comments
Hi,
it seems there is an issue with the config that doesn't get respected at all.
Regardless of what I save to the config it gets not respected.
The current issue is that I try to add authentication which is not working - it always uses the default auth function which returns false.
I even tried to simply add the auth by $config['authentication'] = true;
which also didn't work which to me seems the configuration is not loaded at all from the bundle.
Ckfinder Bundle version: 3.5.2.1
Symfony Version: 5.2.10
Here my current config and the auth class:
imports:
- { resource: ckfinder_config.php }
ckfinder:
connector:
authenticationClass: App\CustomCKFinderAuth\CustomCKFinderAuth
------
<?php
namespace App\CustomCKFinderAuth;
use CKSource\Bundle\CKFinderBundle\Authentication\Authentication as AuthenticationBase;
class CustomCKFinderAuth extends AuthenticationBase
{
public function authenticate()
{
return true;
}
}
As you can see it basically uses default stuff - not even adjusted somehow.
Any kind of feedback would be great.
The issue has been identified it was simply a wrong file extension (yml instead of yaml).