mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Fix settings in database
This commit is contained in:
parent
3b29d163d2
commit
e11b722225
2 changed files with 3 additions and 3 deletions
|
@ -166,12 +166,12 @@ pushd $final_path
|
|||
popd
|
||||
|
||||
# Email setup
|
||||
ynh_mysql_execute_as_root --database=$db_name < ../conf/mail.sql
|
||||
ynh_mysql_connect_as --user=$app --password="$db_pwd" --database=$db_name < ../conf/mail.sql
|
||||
|
||||
# Enable and set up the LDAP auth extension
|
||||
ynh_script_progression --message="Enabling and configuring LDAP extension..." --weight=2
|
||||
activate_flarum_extension $db_name "tituspijean-auth-ldap"
|
||||
ynh_mysql_execute_as_root --database=$db_name < ../conf/ldap.sql
|
||||
ynh_mysql_connect_as --user=$app --password="$db_pwd" --database=$db_name < ../conf/ldap.sql
|
||||
|
||||
# Install, activate and set language extensions
|
||||
case $language in
|
||||
|
|
|
@ -202,7 +202,7 @@ then
|
|||
# Install and activate the LDAP auth extension
|
||||
activate_flarum_extension $db_name "tituspijean-auth-ldap"
|
||||
# Configure LDAP auth extension
|
||||
ynh_mysql_execute_as_root --database=$db_name < ../conf/ldap.sql
|
||||
ynh_mysql_connect_as --user=$app --password="$db_pwd" --database=$db_name < ../conf/ldap.sql
|
||||
fi
|
||||
|
||||
# Install, activate and set language extensions
|
||||
|
|
Loading…
Reference in a new issue