1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Fix $path_url name in user creation loop

This commit is contained in:
Titus PiJean 2018-02-13 19:01:37 +01:00 committed by GitHub
parent 939a73ca61
commit 3176b28897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ for username in $(ynh_user_list); do
-H "Content-Type: application/json" \
-H "Authentication: Token $roottoken" \
-X POST -d "$data" \
-L https://${domain}${path}/api/users )
-L https://${domain}${path_url}/api/users )
if [[ $rep != 201 ]]; then
ynh_die "ERROR: Flarum account creation failed for $username"
fi