aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-12-03 11:12:41 +0100
committerJoas Schilling <coding@schilljs.com>2020-12-07 14:19:38 +0100
commit46b073d7ce49d9797caf29522358562179846abd (patch)
treef863cfa1cc544774427fd917ea756664bea78fa3 /config
parent689e3a502d02801f99f8d44676268c499972c909 (diff)
downloadnextcloud-server-46b073d7ce49d9797caf29522358562179846abd.tar.gz
nextcloud-server-46b073d7ce49d9797caf29522358562179846abd.zip
Add a config for default region of phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 2710fbf5fdb..8adb5bf2168 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -195,6 +195,16 @@ $CONFIG = [
'default_locale' => 'en_US',
/**
+ * This sets the default region for phone numbers on your Nextcloud server,
+ * using ISO 3166-1 country codes such as ``DE`` for Germany, ``FR`` for France, …
+ * It is required to allow inserting phone numbers in the user profiles starting
+ * without the country code (e.g. +49 for Germany).
+ *
+ * No default value!
+ */
+'default_phone_region' => 'EN',
+
+/**
* With this setting a locale can be forced for all users. If a locale is
* forced, the users are also unable to change their locale in the personal
* settings. If users shall be unable to change their locale, but users have