-
Notifications
You must be signed in to change notification settings - Fork 21
After changes in auth modules this plugin doesn't work anymore #39
Comments
Will look into this. |
Hello at all. I think i fixed it. - 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 ? #40 has been created in order to fix it. But if someone still got a previous version, how to manage both versions ? I've been surprised by the auto update which break my installation without notice. |
Tested and approved 👍 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:
The text was updated successfully, but these errors were encountered: