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

Fix admin creation

This commit is contained in:
tituspijean 2024-05-27 11:37:48 +00:00
parent aa3cd640dc
commit 181a395e85

View file

@ -68,7 +68,8 @@ pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies
#ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create __ADMIN__ __PASSWORD__ admin --config ./config.json
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create $admin_mail $password admin --config ./config.json
popd
#=================================================