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:
parent
939a73ca61
commit
3176b28897
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ for username in $(ynh_user_list); do
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authentication: Token $roottoken" \
|
-H "Authentication: Token $roottoken" \
|
||||||
-X POST -d "$data" \
|
-X POST -d "$data" \
|
||||||
-L https://${domain}${path}/api/users )
|
-L https://${domain}${path_url}/api/users )
|
||||||
if [[ $rep != 201 ]]; then
|
if [[ $rep != 201 ]]; then
|
||||||
ynh_die "ERROR: Flarum account creation failed for $username"
|
ynh_die "ERROR: Flarum account creation failed for $username"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue