mattv8 / yourls-ldap-plugin

Simple LDAP plugin for YOURLS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not compatible with YourLS Version 1.9.2

VGmarkus opened this issue · comments

when i try to login in with an LDAP user, i get this Error. "Couldn't add user, plugin may not be compatible with YourLS version"

its possible to make the plugin compatible with the Version 1.9.2, you are planning to update the plugin?

Change the line 312 in plugin.php to
$new_contents = preg_replace('/(yourls_user_passwords\s=\s[)/', '$0 ' . PHP_EOL . $user_line, $configdata, -1, $count);