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

Store dbpass

This commit is contained in:
polytan02 2017-02-24 19:25:46 +00:00
parent fa32da99f3
commit d8b2442e6f

View file

@ -48,6 +48,8 @@ dbname=$app
dbuser=$app
dbpass=$(ynh_string_random)
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
ynh_app_setting_set "$app" dbuser "$dbuser"
ynh_app_setting_set "$app" dbpass "$dbpass"
# Store the database access
echo -e "# MySQL Database"