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

Password with spaces

This commit is contained in:
yalh76 2022-01-10 21:14:06 +01:00
parent e6d9935af2
commit dab04b6580
2 changed files with 14 additions and 14 deletions

View file

@ -1,9 +1,9 @@
;; Test complet
;; Test with Spaces
; Manifest
domain="domain.tld"
admin="john"
is_public=1
password="1Strong-Password"
password="1Strong Password With Spaces"
name="My_Pleroma"
registration=0
cache=1
@ -13,25 +13,25 @@
setup_sub_dir=0
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
setup_private=0
setup_public=0
upgrade=0
# 2.2.0~ynh1
upgrade=1 from_commit=059ddc457aabe6962f5960612ed2dc1db53daeeb
# upgrade=1 from_commit=059ddc457aabe6962f5960612ed2dc1db53daeeb
# 2.2.2~ynh1
upgrade=1 from_commit=63723f18af5b035a41e967078cc3128423b1f9ae
# upgrade=1 from_commit=63723f18af5b035a41e967078cc3128423b1f9ae
# 2.3.0~ynh1
upgrade=1 from_commit=9f5c0970d2bf8bb6111785184b1d3762228b04ec
# upgrade=1 from_commit=9f5c0970d2bf8bb6111785184b1d3762228b04ec
# 2.3.0~ynh2
upgrade=1 from_commit=4757df265b0c3e8d1fc5280190ccfe5705dcb691
# upgrade=1 from_commit=4757df265b0c3e8d1fc5280190ccfe5705dcb691
# 2.3.0~ynh3
upgrade=1 from_commit=28ed2fd7ab7b5e55154991c990d8e780560a56db
# upgrade=1 from_commit=28ed2fd7ab7b5e55154991c990d8e780560a56db
# 2.4.0~ynh1
upgrade=1 from_commit=2c4a57afdc92a6428ccfea3ccb74c7e33dc9b9ff
backup_restore=1
# upgrade=1 from_commit=2c4a57afdc92a6428ccfea3ccb74c7e33dc9b9ff
backup_restore=0
multi_instance=0
port_already_use=0
change_url=1
change_url=0
;;; Options
Email=anmol@datamol.org;yalh@yahoo.com
Notification=yes

View file

@ -224,7 +224,7 @@ pushd $final_path/$app
sleep 60
# Add user
su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl user new $admin $admin_email --password $password --moderator --admin -y"
su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl user new $admin $admin_email --password \"$password\" --moderator --admin -y"
popd
# Calculate and store the config file checksum into the app settings