1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Revert "Update init.php"

This reverts commit ebdce07814.
This commit is contained in:
ericgaspar 2022-02-24 13:49:30 +01:00
parent ebdce07814
commit dbef22d0d7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -222,7 +222,7 @@ class Auth_Ldap extends Auth_Base {
* @param string $password User's password * @param string $password User's password
* @return boolean * @return boolean
*/ */
function authenticate($login, $password) { function authenticate($login, $password, $service='') {
if ($login && $password) { if ($login && $password) {
if (!function_exists('ldap_connect')) { if (!function_exists('ldap_connect')) {