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:
parent
8d4df67313
commit
94916618c1
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue