mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
init really_enable_open_registration
This commit is contained in:
parent
3e0b90bf9e
commit
d1d30097b2
1 changed files with 6 additions and 1 deletions
|
@ -81,7 +81,12 @@ fi
|
|||
# Load up registration variables
|
||||
registration=$(ynh_app_setting_get --app=$app --key=registration)
|
||||
if [ -z $registration ]; then
|
||||
registration=$registration_disabled
|
||||
if [ $registration_disabled -eq 1 ]
|
||||
then
|
||||
really_enable_open_registration="--really-enable-open-registration"
|
||||
else
|
||||
really_enable_open_registration=""
|
||||
fi
|
||||
else
|
||||
ynh_app_setting_delete --app=$app --key=registration
|
||||
if [[ $registration -eq 1 ]]
|
||||
|
|
Loading…
Add table
Reference in a new issue