Skip to content

Commit 5a1018e

Browse files
authored
#315 Update documentation in Twilio gateway class
1 parent bf9d081 commit 5a1018e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

two_factor/gateways/twilio/gateway.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ class Twilio(object):
3838
``TWILIO_CALLER_ID``
3939
Should be set to a verified phone number. Twilio_ differentiates between
4040
numbers verified for making phone calls and sending text messages.
41+
42+
Optionally you may set an error message to be displayed incase of error.
43+
44+
``TWILIO_ERROR_MESSAGE``
45+
Should be set to a string with a custom text.
4146
4247
.. _Twilio: http://www.twilio.com/
4348
"""

0 commit comments

Comments
 (0)