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

Retrieve last Line for the URL

This commit is contained in:
yalh76 2019-01-03 19:47:22 +01:00
parent e03db80788
commit 450edbb566

View file

@ -207,7 +207,7 @@ chown -R "$app":"$app" "$final_path"
# Make user admin
( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix pleroma.user set "$admin" --admin )
# Retrieve a password reset link that you can then send to the user
admin_pass_reset_url=$( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix pleroma.user reset_password "$admin" )
admin_pass_reset_url=$( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix pleroma.user reset_password "$admin" | tail -1 )
#=================================================
# SETUP SSOWAT