Open young-druid opened 3 years ago
Will look into this.
Hello at all.
I think i fixed it. Here is the patch : L46
- class Auth_Ldap extends Plugin implements IAuthModule {
+ class Auth_Ldap extends Auth_Base {
L76
- $this->base = new Auth_Base($this->link);
L378
- return $this->base->auto_create_user($ttrssUsername);
+ return $this->auto_create_user($ttrssUsername);
L381
- return $this->base->auto_create_user($login);
+ return $this->auto_create_user($login);
Is it ok for you ?
But if someone still got a previous version, how to manage both versions ? Like tt-rss is in rolling release, should this repo be always compatible with upstream, and got a branch/tag for previous versions ?
I've been surprised by the auto update which break my installation without notice.
Tested and approved :+1:
Thank you marcpaulchand !
@marcpaulchand Thanks. I will get it mainlined when I get my dev environment backup.
The upstream project has moved to using environment variables instead of config.php based 'define'. Maybe we should consider moving to reading configs from env vars as well?
@gramakri We should look into this but it doesn't belong on this ticket.
This commit breaks auth_ldap plugin. I think quite minimal changes are needed in your plugin to work with the latest tt-rss. Current version of plugin gives this error: