1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Workaround for warnings preventing successful WS API calls

This commit is contained in:
Jimmy Monin 2020-03-28 10:17:23 +01:00
parent 8d4df67313
commit 94916618c1

View file

@ -243,6 +243,9 @@ ynh_store_file_checksum --file="$final_path/local/config/database.inc.php"
#=================================================
ynh_script_progression --message="Configuring LDAP plugin..."
# Disable LDAP plugin to avoid warning messages during API call
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name <<< "DELETE FROM plugins WHERE id='Ldap_Login';"
# Activate the LDAP plugin using the WS API
# Login with admin account