mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
Restore encoding http args
This commit is contained in:
parent
c407678d93
commit
4082ac4aa3
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ ynh_add_fpm_config
|
|||
ynh_script_progression --message="Configuring admin user in BoZon..." --weight=2
|
||||
|
||||
## fill the superadmin creation form (helper ynh_local_curl doesn't work due to --data vs --data-urlencode ?)
|
||||
ynh_local_curl "/index.php?p=login" "creation=1" "login=$admin" "pass=$password" "confirm=$password"
|
||||
admin_enc=$(myynh_urlencode "$admin")
|
||||
password_enc=$(myynh_urlencode "$password")
|
||||
ynh_local_curl "/index.php?p=login" "creation=1" "login=$admin_enc" "pass=$password_enc" "confirm=$password_enc"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue