[tryton-debian-vcs] tryton-server branch debian updated. debian/4.2.0-1-3-gd38ee58
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Dec 12 09:38:02 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/4.2.0-1-3-gd38ee58
commit d38ee58ba217d34028acadb328a2fed010dabc8b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 12 10:37:09 2016 +0100
Add configuration parameters for module authentication_sms.
diff --git a/debian/trytond.conf b/debian/trytond.conf
index 07ca1fd..b8bd240 100644
--- a/debian/trytond.conf
+++ b/debian/trytond.conf
@@ -170,26 +170,52 @@ path = /var/lib/tryton
#uri = ldap://host:port/dn?attributes?scope?filter?extensions
# A basic default URL could look like
#uri = ldap://localhost:389/
-#
+
# The LDAP password used to bind if needed.
#bind_pass =
-#
-# If the LDAP server is an Active Directory (Boolean).
+
+# If the LDAP server is an Active Directory.
#active_directory = False
-#
+
# The UID attribute for authentication.
-# (Internal default: uid)
#uid = uid
+
# If the user shall be created in the database in case it does not exist.
-# (Boolean)
#create_user = False
+
+[sms_authentication]
+# The fully qualified name of the method to send SMS. It must take three
+# arguments: text, to and from.
+#
+# - The sms method just sends a code via SMS to the user. This code can directly
+# be used in the login dialog.
+# - The password_sms method sends a code only after the user entered a valid
+# password (two-factor authentication).
+#
+# Both methods require that the user has a *mobile* phone number defined
+# otherwise he can not be authenticated with those methods.
#
+# This method is required to send SMS.
+#function =
+
+# The number from which the SMS are sent.
+#from =
+
+# The length of the generated code.
+#length = 6
+
+# The time to live for the generated codes in seconds.
+#ttl = 300
+
+# The name used in the SMS text.
+#name = Tryton
+
[product]
# The number of decimals with which the unit prices are stored
# in the database. The default value is 4.
# Warning: This setting can not be lowered once a database is created.
#price_decimal = 4
-#
+
[webdav]
# Settings for the webdav interface
# The IP/host and port number of the interface
@@ -199,6 +225,6 @@ listen = localhost:8080
#listen = 0.0.0.0:8080
# Listen on all interfaces (IPv4 and IPv6)
#listen = [::]:8080
-#
+
# The hostname for this interface
#hostname =
--
tryton-server
More information about the tryton-debian-vcs
mailing list