mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix registrations_require_3pid which could be set to none
This commit is contained in:
parent
241283a834
commit
3880e7046e
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ then
|
|||
disable_msisdn_registration="true"
|
||||
ynh_app_setting_set --app=$app --key=disable_msisdn_registration --value=$disable_msisdn_registration
|
||||
fi
|
||||
if [ -z "${registrations_require_3pid:-}" ]
|
||||
if [ -z "${registrations_require_3pid:-}" ] || [ "${registrations_require_3pid}" == none ]
|
||||
then
|
||||
registrations_require_3pid=email
|
||||
ynh_app_setting_set --app=$app --key=registrations_require_3pid --value=$registrations_require_3pid
|
||||
|
|
Loading…
Reference in a new issue