Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not compatible with YourLS Version 1.9.2 #31

Open
VGmarkus opened this issue Dec 18, 2023 · 1 comment
Open

not compatible with YourLS Version 1.9.2 #31

VGmarkus opened this issue Dec 18, 2023 · 1 comment

Comments

@VGmarkus
Copy link

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?

@VGmarkus VGmarkus changed the title not compatible witth YourLS Version 1.9.2 not compatible with YourLS Version 1.9.2 Dec 18, 2023
@k3a k3a mentioned this issue Dec 19, 2023
@vemi2709
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants