1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix var name

This commit is contained in:
OniriCorpe 2022-07-04 18:21:40 +02:00
parent 3437b00fab
commit eceb3455e7

View file

@ -133,7 +133,7 @@ then
instance_expose_peers="false"
instance_expose_suspended="false"
# conversion of old parameters
if [ "$accounts_registration_open" = "true" ] || [ "$accounts_registration_open" = "false" ]; then
if [ "$registration_open" = "true" ] || [ "$registration_open" = "false" ]; then
accounts_registration_open=$registration_open
accounts_approval_required=$registration_approval
accounts_reason_required=$registration_reason