Configuration#
The Authentication SMS Module introduces a new authentication service sms
and uses settings from the
[authentication_sms]
section of the Configuration file.
function
#
The fully qualified name of the Python method used to send SMS with the signature: (text, to, from)
.
Important
The method is required to use this authentication method.
from
#
The phone number from which the SMS are sent.
length
#
The number of figures for the generated authentication code sent by SMS.
The default value is: 6
ttl
#
The duration in seconds for which the generated codes is still valid.
The default value is: 5 * 60
name
#
The name of the application used in the text of the SMS.
The default value is: Tryton