1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Remove 'none' value for 3pid on account creation as it's not accepted by synapse without workaround

This commit is contained in:
Josué Tille 2024-02-16 23:27:55 +01:00
parent da02afcb07
commit 47ffaea069
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
2 changed files with 3 additions and 3 deletions

View file

@ -26,8 +26,8 @@ services = ["__APP__"]
[main.welcome.registrations_require_3pid] [main.welcome.registrations_require_3pid]
ask = "Registration requires all following 3PID personal identifier" ask = "Registration requires all following 3PID personal identifier"
type = "select" type = "select"
choices = ["none","email", "msisdn", "email&msisdn"] choices = ["email", "msisdn", "email&msisdn"]
help = "! Warning msisdn (Phone number) registration require a third party service which send confirmation token by SMS.\nDo not select any option including msisdn if you don't know what to do. And don't user email nor msisdn if you don't understand privacy flow\nDefaults to: 'none'." help = "! Warning msisdn (Phone number) registration require a third party service which send confirmation token by SMS.\nDo not select msisdn if you don't know what to do. And don't select user msisdn if you don't understand privacy flow\nDefaults to: 'email'."
visible = "enable_registration" visible = "enable_registration"
[main.welcome.allowed_local_3pids_email] [main.welcome.allowed_local_3pids_email]

View file

@ -29,7 +29,7 @@ allow_public_rooms_without_auth="false"
allow_public_rooms_over_federation="false" allow_public_rooms_over_federation="false"
max_upload_size="100M" max_upload_size="100M"
disable_msisdn_registration="true" disable_msisdn_registration="true"
registrations_require_3pid="none" registrations_require_3pid=email
allowed_local_3pids_email="" allowed_local_3pids_email=""
allowed_local_3pids_msisdn="" allowed_local_3pids_msisdn=""
allow_guest_access="false" allow_guest_access="false"